anki/.buildkite/windows/entrypoint.bat
2021-12-10 10:50:57 +10:00

15 lines
352 B
Batchfile
Executable File

set BAZEL=\bazel\bazel.exe --output_user_root=\bazel\ankici --output_base=\bazel\ankici\base
set BUILDARGS=--config=ci
echo +++ Building and testing
if exist \bazel\node_modules (
move \bazel\node_modules .\node_modules
)
call %BAZEL% test %BUILDARGS% ...
IF %ERRORLEVEL% NEQ 0 exit /B 1
echo --- Cleanup
move node_modules \bazel\node_modules