mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
haskell extension
This commit is contained in:
parent
ceb902349f
commit
af91e66d64
1 changed files with 2 additions and 1 deletions
3
packages/haskell/9.0.1/compile
vendored
3
packages/haskell/9.0.1/compile
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue