appveyor : dotnet pack -c %CONFIGURATION%

This commit is contained in:
Stef Heyenrath
2017-01-18 21:24:00 +01:00
parent 07488cd66b
commit 1d2c7fcf79
3 changed files with 9 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ build_script:
- cmd: msbuild .\examples\WireMock.Net.ConsoleApplication\WireMock.Net.ConsoleApplication.csproj /p:Configuration=%CONFIGURATION% /p:Platform=AnyCPU - cmd: msbuild .\examples\WireMock.Net.ConsoleApplication\WireMock.Net.ConsoleApplication.csproj /p:Configuration=%CONFIGURATION% /p:Platform=AnyCPU
- cmd: msbuild .\test\WireMock.Net.Tests\WireMock.Net.Tests.csproj /p:Configuration=%CONFIGURATION% /p:Platform=AnyCPU - cmd: msbuild .\test\WireMock.Net.Tests\WireMock.Net.Tests.csproj /p:Configuration=%CONFIGURATION% /p:Platform=AnyCPU
- dotnet pack -c Release --no-build --version-suffix %LABEL% -o .\artifacts .\src\WireMock\project.json - dotnet pack -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o .\artifacts .\src\WireMock\project.json
artifacts: artifacts:
- path: artifacts\**\*.* - path: artifacts\**\*.*

View File

@@ -1,11 +1,11 @@
{ {
"version": "1.0.0.9", "version": "1.0.0.0",
"title": "WireMock.Net", "title": "WireMock.Net",
"description": "xxxx", "description": "Lightweigth Http Mocking Server for .Net, inspired by WireMock from the Java landscape.",
"authors": [ "Alexandre Victoor", "Stef Heyenrath" ], "authors": [ "Alexandre Victoor", "Stef Heyenrath" ],
"packOptions": { "packOptions": {
"summary": "This is a .NET Core port of the the Microsoft assembly for the .Net 4.0 Dynamic language functionality.", "summary": "Lightweigth Http Mocking Server for .Net, inspired by WireMock from the Java landscape.",
"tags": [ "system", "linq", "dynamic", "core" ], "tags": [ "system", "linq", "dynamic", "core" ],
"owners": [ "Stef Heyenrath" ], "owners": [ "Stef Heyenrath" ],
"repository": { "repository": {
@@ -13,8 +13,8 @@
"url": "https://github.com/StefH/WireMock.Net" "url": "https://github.com/StefH/WireMock.Net"
}, },
"projectUrl": "https://github.com/StefH/WireMock.Net", "projectUrl": "https://github.com/StefH/WireMock.Net",
"licenseUrl": "https://github.com/StefH/WireMock.Net/blob/master/licence.txt", "licenseUrl": "https://raw.githubusercontent.com/StefH/WireMock.Net/master/LICENSE",
"releaseNotes": "" "releaseNotes": "First version"
}, },
"buildOptions": { "buildOptions": {

3
src/_build nuget.cmd Normal file
View File

@@ -0,0 +1,3 @@
dotnet restore
dotnet pack -c Release WireMock\project.json
pause