build.cmd 161 B

123456789101112131415
  1. @echo off
  2. set ROOT=%cd%
  3. set NAME=%~n0
  4. set ARGV=%*
  5. if exist zephyr (
  6. cd zephyr
  7. )
  8. cmd /c python %NAME%.py %ARGV%
  9. set ERR=%errorlevel%
  10. cd %ROOT%
  11. exit /b %ERR%