diff options
author | Rob Mensching <rob@firegiant.com> | 2020-06-27 12:51:24 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2020-06-27 13:30:19 -0700 |
commit | d02ccdc0bd962289d59d83497e19a31b974c9631 (patch) | |
tree | 8ce1a4f82612dc5450bb48deebb1f280501e370f | |
parent | db8195b4db974a20eef3468c4bdd48a935970e30 (diff) | |
download | wix-d02ccdc0bd962289d59d83497e19a31b974c9631.tar.gz wix-d02ccdc0bd962289d59d83497e19a31b974c9631.tar.bz2 wix-d02ccdc0bd962289d59d83497e19a31b974c9631.zip |
Improve build batch file
-rw-r--r-- | appveyor.cmd | 9 | ||||
-rw-r--r-- | nuget.config | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index 79950868..3a7e2d72 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -1,13 +1,14 @@ | |||
1 | @setlocal | 1 | @setlocal |
2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
3 | 3 | ||
4 | nuget restore | 4 | nuget restore || exit /b |
5 | 5 | ||
6 | msbuild -p:Configuration=Release -t:Restore | 6 | msbuild -p:Configuration=Release -t:Restore || exit /b |
7 | 7 | ||
8 | msbuild -p:Configuration=Release src\test\WixToolsetTest.DirectX\WixToolsetTest.DirectX.csproj | 8 | msbuild -p:Configuration=Release src\test\WixToolsetTest.DirectX\WixToolsetTest.DirectX.csproj || exit /b |
9 | dotnet test -c Release --no-build src\test\WixToolsetTest.DirectX || exit /b | ||
9 | 10 | ||
10 | msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.DirectX.wixext.csproj | 11 | msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.DirectX.wixext.csproj || exit /b |
11 | 12 | ||
12 | @popd | 13 | @popd |
13 | @endlocal \ No newline at end of file | 14 | @endlocal \ No newline at end of file |
diff --git a/nuget.config b/nuget.config index aaee3228..db7aba29 100644 --- a/nuget.config +++ b/nuget.config | |||
@@ -2,6 +2,7 @@ | |||
2 | <configuration> | 2 | <configuration> |
3 | <packageSources> | 3 | <packageSources> |
4 | <clear /> | 4 | <clear /> |
5 | <add key="wixtoolset-burn" value="https://ci.appveyor.com/nuget/wixtoolset-burn" /> | ||
5 | <add key="wixtoolset-data" value="https://ci.appveyor.com/nuget/wixtoolset-data" /> | 6 | <add key="wixtoolset-data" value="https://ci.appveyor.com/nuget/wixtoolset-data" /> |
6 | <add key="wixtoolset-extensibility" value="https://ci.appveyor.com/nuget/wixtoolset-extensibility" /> | 7 | <add key="wixtoolset-extensibility" value="https://ci.appveyor.com/nuget/wixtoolset-extensibility" /> |
7 | <add key="wixtoolset-core" value="https://ci.appveyor.com/nuget/wixtoolset-core" /> | 8 | <add key="wixtoolset-core" value="https://ci.appveyor.com/nuget/wixtoolset-core" /> |