diff options
author | Rob Mensching <rob@firegiant.com> | 2020-06-27 13:46:30 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2020-06-27 13:46:30 -0700 |
commit | f1d9b41bde2786f9d982a6f6663e1b6675035213 (patch) | |
tree | 16fe1041be13c859b713537800e2d2c28dc7f60e | |
parent | b38e2bfb0fe419155df164e2bcefbbe34bad6a70 (diff) | |
download | wix-f1d9b41bde2786f9d982a6f6663e1b6675035213.tar.gz wix-f1d9b41bde2786f9d982a6f6663e1b6675035213.tar.bz2 wix-f1d9b41bde2786f9d982a6f6663e1b6675035213.zip |
Improve build batch file
-rw-r--r-- | appveyor.cmd | 12 | ||||
-rw-r--r-- | nuget.config | 1 |
2 files changed, 6 insertions, 7 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index f40602b7..79c24cc1 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -1,16 +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.Firewall\WixToolsetTest.Firewall.csproj | 8 | msbuild -p:Configuration=Release src\test\WixToolsetTest.Firewall\WixToolsetTest.Firewall.csproj || exit /b |
9 | dotnet test -c Release --no-build src\test\WixToolsetTest.Firewall || exit /b | ||
9 | 10 | ||
10 | msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.Firewall.wixext.csproj | 11 | msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.Firewall.wixext.csproj || exit /b |
11 | |||
12 | msbuild -p:Configuration=Release src\test\WixToolsetTest.Firewall\WixToolsetTest.Firewall.csproj | ||
13 | dotnet test -c Release --no-build src\test\WixToolsetTest.Firewall | ||
14 | 12 | ||
15 | @popd | 13 | @popd |
16 | @endlocal \ No newline at end of file | 14 | @endlocal \ No newline at end of file |
diff --git a/nuget.config b/nuget.config index d5408d52..aaf36562 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" /> |