aboutsummaryrefslogtreecommitdiff
path: root/src/dtf/dtf.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/dtf/dtf.cmd')
-rw-r--r--src/dtf/dtf.cmd26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/dtf/dtf.cmd b/src/dtf/dtf.cmd
new file mode 100644
index 00000000..e90a54aa
--- /dev/null
+++ b/src/dtf/dtf.cmd
@@ -0,0 +1,26 @@
1@setlocal
2@pushd %~dp0
3
4@set _C=Debug
5:parse_args
6@if /i "%1"=="release" set _C=Release& shift
7@if not "%1"=="" shift & goto parse_args
8
9@echo Building dtf %_C%
10
11:: dtf
12
13nuget restore || exit /b
14
15msbuild -t:Build -p:Configuration=%_C% || exit /b
16
17msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Compression || exit /b
18msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Compression.Cab || exit /b
19msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Compression.Zip || exit /b
20msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Resources || exit /b
21msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.WindowsInstaller || exit /b
22msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.WindowsInstaller.Linq || exit /b
23msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.WindowsInstaller.Package || exit /b
24
25@popd
26@endlocal