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.cmd23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/dtf/dtf.cmd b/src/dtf/dtf.cmd
index d72c803b..530ee432 100644
--- a/src/dtf/dtf.cmd
+++ b/src/dtf/dtf.cmd
@@ -4,13 +4,36 @@
4@set _C=Debug 4@set _C=Debug
5:parse_args 5:parse_args
6@if /i "%1"=="release" set _C=Release 6@if /i "%1"=="release" set _C=Release
7@if /i "%1"=="inc" set _INC=1
8@if /i "%1"=="clean" set _CLEAN=1
7@if not "%1"=="" shift & goto parse_args 9@if not "%1"=="" shift & goto parse_args
8 10
11:: Clean
12
13@if "%_INC%"=="" call :clean
14@if NOT "%_CLEAN%"=="" goto :end
15
9@echo Building dtf %_C% 16@echo Building dtf %_C%
10 17
11msbuild -Restore SfxCA\sfxca_t.proj -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:..\..\build\logs\dtf_sfxca.binlog || exit /b 18msbuild -Restore SfxCA\sfxca_t.proj -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:..\..\build\logs\dtf_sfxca.binlog || exit /b
12 19
13msbuild -Restore -t:Pack dtf.sln -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:..\..\build\logs\dtf_build.binlog || exit /b 20msbuild -Restore -t:Pack dtf.sln -p:Configuration=%_C% -tl -nologo -m -warnaserror -bl:..\..\build\logs\dtf_build.binlog || exit /b
14 21
22@goto :end
23
24:clean
25@rd /s/q "..\..\build\dtf" 2> nul
26@del "..\..\build\artifacts\WixToolset.Dtf.*.nupkg" 2> nul
27@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.dtf.compression" 2> nul
28@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.dtf.compression.cab" 2> nul
29@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.dtf.compression.zip" 2> nul
30@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.dtf.customaction" 2> nul
31@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.dtf.resources" 2> nul
32@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.dtf.windowsinstaller" 2> nul
33@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.dtf.windowsinstaller.linq" 2> nul
34@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.dtf.windowsinstaller.package" 2> nul
35@exit /b
36
37:end
15@popd 38@popd
16@endlocal 39@endlocal