diff --git a/build.bat b/build.bat new file mode 100644 index 0000000000..034de66a28 --- /dev/null +++ b/build.bat @@ -0,0 +1,17 @@ +@REM Copyright (c) Facebook, Inc. and its affiliates. +@REM +@REM This software may be used and distributed according to the terms of the +@REM GNU General Public License version 2. + +@echo off +SETLOCAL +if exist %~dp0\..\..\opensource\fbcode_builder\getdeps.py ( + set GETDEPS=%~dp0\..\..\opensource\fbcode_builder\getdeps.py +) else if exist %~dp0\build\fbcode_builder\getdeps.py ( + set GETDEPS=%~dp0\build\fbcode_builder\getdeps.py +) else ( + echo "error: unable to find getdeps.py" + exit 1 +) + +python3.exe %GETDEPS% build eden %*