mirror of
https://github.com/facebook/sapling.git
synced 2024-08-16 14:00:24 +03:00
add a build.bat file for building on Windows
Summary: Add a `build.bat` file for building on Windows, to parallel the `build.sh` file for Linux + Mac systems. Reviewed By: wez Differential Revision: D20715564 fbshipit-source-id: 8e792d2d41baaf6366e8f259b5adf700cb07ad3a
This commit is contained in:
parent
1d651b0a07
commit
f31f636343
17
build.bat
Normal file
17
build.bat
Normal file
@ -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 %*
|
Loading…
Reference in New Issue
Block a user