anki/scripts/build.bat
2021-10-28 18:46:45 +10:00

13 lines
230 B
Batchfile
Executable File

@echo off
if not exist WORKSPACE (
echo Run from project root
exit /b 1
)
rd /s /q bazel-dist
set BUILDARGS=-k -c opt dist --color=yes
call .\bazel build %BUILDARGS% || exit /b 1
tar xvf bazel-bin\dist.tar || exit /b 1