Skip to content

Commit

Permalink
attempt to fix exit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
sgraham committed Oct 18, 2023
1 parent 5ce42e8 commit 992e9b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
if '%1==' goto :err
call python src/gen.py
call third_party\ninja\ninja-win.exe -C out\w%1 %2 %3 %4 %5
call python src/gen.py || exit /b
call third_party\ninja\ninja-win.exe -C out\w%1 %2 %3 %4 %5 || exit /b
goto :EOF
:err
echo usage: m d^|r^|a [target]

0 comments on commit 992e9b7

Please sign in to comment.