2020-12-09 11:09:07 +01:00
|
|
|
set BAZEL=\bazel\bazel.exe --output_user_root=\bazel\ankici --output_base=\bazel\ankici\base
|
2020-12-07 12:26:52 +01:00
|
|
|
set BUILDARGS=--config=ci
|
|
|
|
|
2021-12-09 09:55:19 +01:00
|
|
|
echo +++ Building and testing
|
|
|
|
|
2020-12-07 12:26:52 +01:00
|
|
|
if exist \bazel\node_modules (
|
2021-10-07 03:34:00 +02:00
|
|
|
move \bazel\node_modules .\node_modules
|
2020-12-07 12:26:52 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
call %BAZEL% test %BUILDARGS% ...
|
|
|
|
IF %ERRORLEVEL% NEQ 0 exit /B 1
|
|
|
|
|
2020-12-16 02:59:07 +01:00
|
|
|
echo --- Cleanup
|
2021-10-07 03:34:00 +02:00
|
|
|
move node_modules \bazel\node_modules
|