aboutsummaryrefslogtreecommitdiff
path: root/src/ext/ComPlus/appveyor.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/ComPlus/appveyor.cmd')
-rw-r--r--src/ext/ComPlus/appveyor.cmd22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ext/ComPlus/appveyor.cmd b/src/ext/ComPlus/appveyor.cmd
new file mode 100644
index 00000000..17900d31
--- /dev/null
+++ b/src/ext/ComPlus/appveyor.cmd
@@ -0,0 +1,22 @@
1@setlocal
2@pushd %~dp0
3@set _C=Release
4@if /i "%1"=="debug" set _C=Debug
5
6:: Restore
7msbuild -p:Configuration=%_C% -t:Restore || exit /b
8
9::msbuild -p:Configuration=%_C% -p:Platform=Win32 src\ca\complusca.vcxproj || exit /b
10::msbuild -p:Configuration=%_C% -p:Platform=x64 src\ca\complusca.vcxproj || exit /b
11
12:: Build
13msbuild -p:Configuration=%_C% src\test\WixToolsetTest.ComPlus\WixToolsetTest.ComPlus.csproj || exit /b
14
15:: Test
16dotnet test -c %_C% --no-build src\test\WixToolsetTest.ComPlus || exit /b
17
18:: Pack
19msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.ComPlus.wixext.csproj || exit /b
20
21@popd
22@endlocal \ No newline at end of file