aboutsummaryrefslogtreecommitdiff
path: root/src/dtf/dtf.cmd
blob: 1f6b3842080b8bdec580481441e3d9272b3d6f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@setlocal
@pushd %~dp0

@set _C=Debug
:parse_args
@if /i "%1"=="release" set _C=Release
@if not "%1"=="" shift & goto parse_args

@echo Building dtf %_C%

:: dtf

nuget restore || exit /b

msbuild -t:Build -p:Configuration=%_C% || exit /b

msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Compression || exit /b
msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Compression.Cab || exit /b
msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Compression.Zip || exit /b
msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.Resources || exit /b
msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.WindowsInstaller || exit /b
msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.WindowsInstaller.Linq || exit /b
msbuild -t:Pack -p:Configuration=%_C% WixToolset.Dtf.WindowsInstaller.Package || exit /b

@popd
@endlocal