This commit is contained in:
Rasmus Moorats 2023-01-03 15:46:39 +02:00
parent ddda38b59d
commit e56060e623
Signed by: xx
GPG key ID: FE14255A6AE7241C

View file

@ -15,8 +15,7 @@ let output = outdir & "swick"
task release, "build binary for release":
exec "mkdir -p " & outdir
exec "nim c -d:release --opt:speed --mm:arc --passC:-ffast-math -o:" & output & " src/swick.nim"
exec "strip " & output
exec "nim c -d:release --passC:-flto --passL:-flto --passL:-s --opt:speed --mm:orc --passC:-ffast-math -o:" & output & " src/swick.nim"
echo "built " & output
task clean, "clean workspace":