anki/scripts/build.bat

13 lines
238 B
Batchfile
Raw Normal View History

2020-12-10 11:27:21 +01:00
@echo off
if not exist WORKSPACE (
echo Run from project root
exit /b 1
)
rd /s /q bazel-dist
2021-10-28 10:46:45 +02:00
set BUILDARGS=-k -c opt dist --color=yes
call .\bazel build %BUILDARGS% || exit /b 1
tar xvf ..\bazel\anki\bin\dist.tar || exit /b 1