Add -t to xargs, add bash

main
xenia 2023-08-15 12:23:23 +02:00
parent da52df1e8f
commit 1201987364
1 changed files with 2 additions and 1 deletions

View File

@ -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