initial commit
This commit is contained in:
commit
f4fa590833
4 changed files with 31 additions and 0 deletions
10
prepare
Executable file
10
prepare
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
day="$1"
|
||||
part="$2"
|
||||
|
||||
day="$(printf '%02d' "$day")"
|
||||
|
||||
if test -f "Day${day}/Part${part}.hs"; then
|
||||
#stack build
|
||||
stack ghc -- -O3 "Day${day}/Part${part}.hs" -o run
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue