mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-23 21:34:35 +03:00
d8385b7f91
* gh: use shallow clones whenever possible * gh: reverted submodule checks * gh: lint: joined linting scripts * gh: renamed linter workflow * check python linter output * gh: reworked linter * checking c linter * gh: merged submodule check & lint * gh: renamed step * gh: removed redundant `submodules: false` Co-authored-by: あく <alleteam@gmail.com>
22 lines
457 B
Batchfile
22 lines
457 B
Batchfile
@echo off
|
|
call "%~dp0scripts\toolchain\fbtenv.cmd" env
|
|
|
|
set SCONS_EP=python -m SCons
|
|
|
|
if [%FBT_NO_SYNC%] == [] (
|
|
if exist ".git" (
|
|
git submodule update --init --depth 1
|
|
) else (
|
|
echo Not in a git repo, please clone with "git clone"
|
|
exit /b 1
|
|
)
|
|
)
|
|
|
|
set "SCONS_DEFAULT_FLAGS=--warn=target-not-built"
|
|
|
|
if not defined FBT_VERBOSE (
|
|
set "SCONS_DEFAULT_FLAGS=%SCONS_DEFAULT_FLAGS% -Q"
|
|
)
|
|
|
|
%SCONS_EP% %SCONS_DEFAULT_FLAGS% %*
|