fbt.cmd 324 B

123456789101112131415
  1. @echo off
  2. set SCONS_EP=%~dp0\lib\scons\scripts\scons.py
  3. if [%FBT_NO_SYNC%] == [] (
  4. if exist ".git" (
  5. git submodule update --init
  6. ) else (
  7. echo Not in a git repo, please clone with git clone --recursive
  8. exit /b 1
  9. )
  10. )
  11. set "SCONS_DEFAULT_FLAGS=-Q --warn=target-not-built"
  12. python %SCONS_EP% %SCONS_DEFAULT_FLAGS% %*