matabas/buildScripts/build.sh
2023-08-15 12:23:23 +02:00

16 lines
280 B
Bash
Executable File

#!/usr/bin/env bash
set -e
mkdir -p artifacts
log "Kompilerar backend..."
find backend -type f -and -name '*.hs' -print0 \
| xargs -t0 ghc -o artifacts/Main \
-odir artifacts \
-hidir artifacts \
-tmpdir artifacts
log "Klar" "!"
set +e