matabas/buildScripts/build.sh

15 lines
259 B
Bash
Raw Normal View History

2023-08-09 23:05:03 +02:00
set -e
mkdir -p artifacts
log "Kompilerar backend..."
find backend -type f -and -name '*.hs' -print0 \
| xargs -0 ghc -o artifacts/Main \
-odir artifacts \
-hidir artifacts \
-tmpdir artifacts
log "Klar" "!"
set +e