aboutsummaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorSan Jacobs2026-01-23 19:48:13 +0100
committerSan Jacobs2026-01-23 19:48:13 +0100
commit1012edf3b15f707824a78977ec8a831da2ea845e (patch)
treecb2c8f136c0d492922bd8dc775d354a31fc6b82d /build.bat
parent10be2f44f633a2208f41f9ea2ee233caf1266627 (diff)
downloadstatics-1012edf3b15f707824a78977ec8a831da2ea845e.tar.gz
statics-1012edf3b15f707824a78977ec8a831da2ea845e.tar.bz2
statics-1012edf3b15f707824a78977ec8a831da2ea845e.zip
Fixed memory corruption and prettier printing
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.bat b/build.bat
index 859a75c..944c2ed 100644
--- a/build.bat
+++ b/build.bat
@@ -1 +1,7 @@
-odin build . -out:statics.exe && statics.exe "test-data.ics" -i 2025-08 -v -s Test \ No newline at end of file
+odin build . -debug -out:statics.exe
+
+if %ERRORLEVEL% == 0 (
+ statics.exe "test-data.ics" -i 2025-08 -v -s Test
+ mkdir release
+ odin build . -o:speed -out:release/statics.exe
+)