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
|
set -e
|
||||||
|
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
|
||||||
log "Kompilerar backend..."
|
log "Kompilerar backend..."
|
||||||
find backend -type f -and -name '*.hs' -print0 \
|
find backend -type f -and -name '*.hs' -print0 \
|
||||||
| xargs -0 ghc -o artifacts/Main \
|
| xargs -t0 ghc -o artifacts/Main \
|
||||||
-odir artifacts \
|
-odir artifacts \
|
||||||
-hidir artifacts \
|
-hidir artifacts \
|
||||||
-tmpdir artifacts
|
-tmpdir artifacts
|
||||||
|
|
Loading…
Reference in New Issue
Block a user