haskell extension
This commit is contained in:
parent
ceb902349f
commit
af91e66d64
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Compile haskell file(s)
|
||||
ghc -dynamic -v0 -o out "$@"
|
||||
rename 's/$/\.hs/' "$@" # Add .hs extension
|
||||
ghc -dynamic -v0 -o out *.hs
|
||||
chmod +x out
|
||||
|
|
Loading…
Reference in New Issue