1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-16 08:36:26 +02:00

pkg(husk-1.0.0): add husk

This commit is contained in:
Hydrazer 2021-10-08 17:14:08 -06:00
parent 2ae63a4d69
commit 7ff87cf0f2
6 changed files with 37 additions and 0 deletions
packages/husk/1.0.0

14
packages/husk/1.0.0/build.sh vendored Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
cp ../../haskell/9.0.1/build.sh ./haskell-build.sh
sed -Ei 's/9\.0\.1/8\.10\.7/g' ./haskell-build.sh
source ./haskell-build.sh
# compile Husk from source
git clone -q "https://github.com/barbuz/husk.git"
cd husk
../bin/ghc -O2 Husk
# cleanup
cd ..
rm -f haskell-build.sh