summaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2022-02-02 21:42:07 +0100
committerDaniel Gavin <danielgavin5@hotmail.com>2022-02-02 21:42:07 +0100
commit7c4f2e8aaf32708f13687c1b8413036e525268e3 (patch)
treee6b89ed5156119d40f5c5bc600cbc8462b8a6be9 /build.bat
parent681b58ac8f684572a7408f48ee360d8206846767 (diff)
Fix a dynamic indexer bug, and temporary hacky fix for c.types.
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.bat b/build.bat
index 4d2d1b2..26e2603 100644
--- a/build.bat
+++ b/build.bat
@@ -5,6 +5,12 @@ if "%1" == "CI" (
"Odin/odin.exe" test tests -collection:shared=src -debug -opt:0
if %errorlevel% neq 0 exit 1
"Odin/odin.exe" build src\ -show-timings -microarch:native -collection:shared=src -out:ols -opt:2 -thread-count:1
+) else if "%1" == "test" (
+ odin test tests -collection:shared=src -debug -opt:0
+) else if "%1" == "single_test" (
+ odin test tests -collection:shared=src -test-name:%2
+) else if "%1" == "debug" (
+ odin build src\ -show-timings -microarch:native -collection:shared=src -out:ols -opt:0 -debug
) else (
odin build src\ -show-timings -microarch:native -collection:shared=src -out:ols -opt:2
) \ No newline at end of file