Add -t to xargs, add bash
This commit is contained in:
parent
da52df1e8f
commit
1201987364
|
@ -1,10 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
mkdir -p artifacts
|
||||
|
||||
log "Kompilerar backend..."
|
||||
find backend -type f -and -name '*.hs' -print0 \
|
||||
| xargs -0 ghc -o artifacts/Main \
|
||||
| xargs -t0 ghc -o artifacts/Main \
|
||||
-odir artifacts \
|
||||
-hidir artifacts \
|
||||
-tmpdir artifacts
|
||||
|
|
Loading…
Reference in New Issue
Block a user