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:
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
14
packages/husk/1.0.0/build.sh
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue