mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
6 lines
133 B
Bash
6 lines
133 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Compile haskell file(s)
|
|
rename 's/$/\.hs/' "$@" # Add .hs extension
|
|
ghc -dynamic -v0 -o out *.hs
|
|
chmod +x out
|