mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
33d6bda86d
Differential Revision: https://phabricator.services.mozilla.com/D115697
21 lines
254 B
Batchfile
21 lines
254 B
Batchfile
@echo off
|
|
REM Switch directory of this batch file
|
|
cd %~dp0
|
|
|
|
if not exist build_win mkdir build_win
|
|
|
|
cd build_win
|
|
cmake .. -G Ninja || goto error
|
|
ninja || goto error
|
|
ctest -j || goto error
|
|
|
|
cd ..
|
|
echo Success
|
|
goto end
|
|
|
|
:error
|
|
echo Failure
|
|
exit /b 1
|
|
|
|
:end
|