2022-06-26 12:00:03 +00:00
|
|
|
@echo off
|
2022-07-25 21:31:34 +00:00
|
|
|
call "%~dp0scripts\toolchain\fbtenv.cmd" env
|
2022-06-30 16:06:12 +00:00
|
|
|
|
|
|
|
set SCONS_EP=%~dp0\lib\scons\scripts\scons.py
|
|
|
|
|
2022-07-04 17:38:18 +00:00
|
|
|
if [%FBT_NO_SYNC%] == [] (
|
2022-07-14 16:24:26 +00:00
|
|
|
if exist ".git" (
|
|
|
|
git submodule update --init
|
|
|
|
) else (
|
|
|
|
echo Not in a git repo, please clone with git clone --recursive
|
|
|
|
exit /b 1
|
|
|
|
)
|
2022-06-26 12:00:03 +00:00
|
|
|
)
|
2022-07-04 18:57:40 +00:00
|
|
|
|
2022-06-26 12:00:03 +00:00
|
|
|
set "SCONS_DEFAULT_FLAGS=-Q --warn=target-not-built"
|
2022-07-25 21:31:34 +00:00
|
|
|
python lib\scons\scripts\scons.py %SCONS_DEFAULT_FLAGS% %*
|