aboutsummaryrefslogtreecommitdiff
path: root/devbuild.cmd
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2022-05-24 21:59:28 -0700
committerRob Mensching <rob@firegiant.com>2022-05-24 22:44:20 -0700
commitea7b44abd725139535475a96dbcbc5b9c39539a2 (patch)
tree87e83edbfaa6c1877a907131c001f9dd58b9f2c1 /devbuild.cmd
parenta79996ed98978a6bf8f87020331ec5f95d9540bf (diff)
downloadwix-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.cmd20
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
3setlocal
4pushd %~dp0
5
6:parse_args
7if /i "%1"=="release" set _C=Release
8if /i "%1"=="inc" set _INCREMENTAL=1
9if /i "%1"=="incremental" set _INCREMENTAL=1
10if /i "%1"=="clean" set _INCREMENTAL= & set _CLEAN=1
11if not "%1"=="" shift & goto parse_args
12
13if not "%_INCREMENTAL"=="1" call src\clean.cmd
14if not "%_CLEAN%"=="" goto end
15
16src\build_all.cmd %_C%
17
18:end
19popd
20endlocal