Browse Source

Merge pull request #299 from Jeavon/feature/fixnugetbuild

Add assembly patching and switch from MSBuild to using dnu

Former-commit-id: d2998f9a1d73c4835b484488fb40e2a963b56f77
Former-commit-id: 20cc8a068694a9e8756a4d00f1e32230921111db
Former-commit-id: fb58708ddd37727691bc03cfc7fc887bfc6b1795
pull/17/head
James Jackson-South 10 years ago
parent
commit
79f1aa4d07
  1. 15
      appveyor.yml

15
appveyor.yml

@ -5,6 +5,12 @@ install:
# Remove NuGet v2 source as we want to use v3 for everything
- cmd: nuget sources remove -Name nuget.org
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '3.0.0.{build}'
assembly_file_version: '3.0.0.{build}'
before_build:
- cmd: >-
dnvm install 1.0.0-rc1-update1 -r clr
@ -26,9 +32,14 @@ before_build:
node appveyor-project-version-patch.js
cd..
build_script:
- cmd: '"%programfiles(x86)%\MSBuild\14.0\Bin\amd64\MsBuild.exe" ImageProcessor.sln /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:RuntimeToolingDirectory="%USERPROFILE%\.dnx\runtimes\dnx-coreclr-win-x64.1.0.0-rc1-update1"'
- cmd: >-
dnu build src\ImageProcessor
dnu build tests\ImageProcessor.Tests
dnu pack src\ImageProcessor --configuration Release --out "artifacts\bin\ImageProcessor"
test_script:
- cmd: >-

Loading…
Cancel
Save