aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil <homan.phil@gmail.com>2022-08-17 13:28:35 -0700
committerPhil <homan.phil@gmail.com>2022-08-17 13:28:35 -0700
commit1c52dffa505261b20e7c4532ef996450c8b6c818 (patch)
tree9bb3d76e0ba8fbb21e4dd3036f8d97c5609ffe43
parent4820ffdf3e5567aa645561964b769f6a8e6f86aa (diff)
fix build.bat
-rw-r--r--build.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.bat b/build.bat
index ef381b4..4f85f51 100644
--- a/build.bat
+++ b/build.bat
@@ -1,8 +1,8 @@
@echo off
-
+setlocal enabledelayedexpansion
if "%1" == "CI" (
- set "PATH=%cd%\Odin;%PATH%"
+ set "PATH=%cd%\Odin;!PATH!"
rem odin test tests -collection:shared=src
rem if %errorlevel% neq 0 exit 1
@@ -19,4 +19,4 @@ if "%1" == "CI" (
odin build src\ -show-timings -collection:shared=src -microarch:native -out:ols.exe -o:minimal -no-bounds-check -debug
) else (
odin build src\ -show-timings -microarch:native -collection:shared=src -out:ols.exe -o:speed -no-bounds-check
-) \ No newline at end of file
+)