matabas/buildScripts/build.sh
2023-08-09 23:05:03 +02:00

15 lines
259 B
Bash
Executable File

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