Add AppVeyour build script

This commit is contained in:
Frederik Carlier
2016-06-03 16:19:40 +02:00
parent e071148e2b
commit b07e637c6d
2 changed files with 13 additions and 3 deletions

10
appveyor.yml Normal file
View File

@@ -0,0 +1,10 @@
before_build:
- nuget restore
build_script:
- msbuild plist-cil.sln /p:Configuration=Release /p:Platform="Any CPU" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
on_success:
- cmd: cd plist-cil
- cmd: nuget pack plist-cil\plist-cil.nuspec -Version %APPVEYOR_BUILD_VERSION%
- ps: Push-AppveyorArtifact "plist-cil.$($env:APPVEYOR_BUILD_VERSION).nupkg"

View File

@@ -17,10 +17,10 @@
</metadata>
<files>
<file src="bin/Release/*.dll" target="lib"/>
<file src="bin/Release/ChangeLog.txt" target="content\docs"/>
<file src="bin/Release/LICENSE.txt" target="content\docs"/>
<file src="bin/Release/ChangeLog" target="content\docs\ChangeLog.txt"/>
<file src="bin/Release/LICENSE" target="content\docs\LICENSE.txt"/>
<file src="bin/Release/*.xml" target="lib"/>
<file src="bin/Release/README.md" target="content\docs"/>
<file src="bin/Release/README.md" target="content\docs\README.md"/>
<file src="bin/Release/docs/**/*.*" target="content\docs"/>
</files>
</package>