diff options
author | Rob Mensching <rob@firegiant.com> | 2022-05-24 21:59:28 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-05-24 22:44:20 -0700 |
commit | ea7b44abd725139535475a96dbcbc5b9c39539a2 (patch) | |
tree | 87e83edbfaa6c1877a907131c001f9dd58b9f2c1 /devbuild.cmd | |
parent | a79996ed98978a6bf8f87020331ec5f95d9540bf (diff) | |
download | wix-ea7b44abd725139535475a96dbcbc5b9c39539a2.tar.gz wix-ea7b44abd725139535475a96dbcbc5b9c39539a2.tar.bz2 wix-ea7b44abd725139535475a96dbcbc5b9c39539a2.zip |
Rename build.cmd to devbuild.cmd to better represent its purpose
The build.cmd in the root of the repository is intended for use by
developers looking to build the full WiX Toolset. Official builds
use the appropriate build files in the src folder.
Renaming build.cmd to devbuild.cmd better represents its purpose.
As a bonus, renaming to devbuild.cmd also removes TAB completion
conflict with the .\build folder.
Diffstat (limited to 'devbuild.cmd')
-rw-r--r-- | devbuild.cmd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devbuild.cmd b/devbuild.cmd new file mode 100644 index 00000000..2f8ee880 --- /dev/null +++ b/devbuild.cmd | |||
@@ -0,0 +1,20 @@ | |||
1 | @echo off | ||
2 | |||
3 | setlocal | ||
4 | pushd %~dp0 | ||
5 | |||
6 | :parse_args | ||
7 | if /i "%1"=="release" set _C=Release | ||
8 | if /i "%1"=="inc" set _INCREMENTAL=1 | ||
9 | if /i "%1"=="incremental" set _INCREMENTAL=1 | ||
10 | if /i "%1"=="clean" set _INCREMENTAL= & set _CLEAN=1 | ||
11 | if not "%1"=="" shift & goto parse_args | ||
12 | |||
13 | if not "%_INCREMENTAL"=="1" call src\clean.cmd | ||
14 | if not "%_CLEAN%"=="" goto end | ||
15 | |||
16 | src\build_all.cmd %_C% | ||
17 | |||
18 | :end | ||
19 | popd | ||
20 | endlocal | ||