diff options
Diffstat (limited to 'src/dtf/dtf.cmd')
-rw-r--r-- | src/dtf/dtf.cmd | 26 |
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 | |||
13 | nuget restore || exit /b | ||
14 | |||
15 | msbuild -t:Build -p:Configuration=%_C% || exit /b | ||
16 | |||
17 | msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Compression || exit /b | ||
18 | msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Compression.Cab || exit /b | ||
19 | msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Compression.Zip || exit /b | ||
20 | msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Resources || exit /b | ||
21 | msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.WindowsInstaller || exit /b | ||
22 | msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.WindowsInstaller.Linq || exit /b | ||
23 | msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.WindowsInstaller.Package || exit /b | ||
24 | |||
25 | @popd | ||
26 | @endlocal | ||