Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions Build/ICSharpCode.SharpZipLib.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata minClientVersion="2.0">
<id>ICSharpCode.SharpZipLib-dogfood</id>
<version>0.87-dogfood</version>
<version>1.0</version>
<title>SharpZipLib-dogfood</title>
<authors>IC#Code</authors>
<owners>IC#Code</owners>
Expand All @@ -13,24 +13,22 @@
<projectUrl>http://icsharpcode.github.io/SharpZipLib/</projectUrl>
<!-- iconUrl -->
<licenseUrl>http://icsharpcode.github.io/SharpZipLib/#license</licenseUrl>
<copyright>Copyright © 2000-2016 AlphaSierraPapa for the SharpZipLib Team</copyright>
<copyright>Copyright © 2000-2016 SharpZipLib Contributors</copyright>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<!-- dependencies -->
<!-- references -->
<frameworkAssemblies>
<frameworkAssembly assemblyName="System" />
</frameworkAssemblies>
<tags>Compression Library Zip GZip BZip2 Tar</tags>
<!-- frameworkAssemblies -->
<tags>Compression Library Zip GZip BZip2 LZW Tar</tags>
</metadata>
<files>
<file src="..\bin\Release\ICSharpCode.SharpZipLib.dll" target="lib\Net45\" />
<file src="..\bin\Release\ICSharpCode.SharpZipLib.pdb" target="lib\Net45\" />
<file src="..\bin\Release\ICSharpCode.SharpZipLib.xml" target="lib\Net45\" />
<file src="..\bin\Release\ICSharpCode.SharpZipLib.dll" target="lib\dnx451\" />
<file src="..\bin\Release\ICSharpCode.SharpZipLib.pdb" target="lib\dnx451\" />
<file src="..\bin\Release\ICSharpCode.SharpZipLib.xml" target="lib\dnx451\" />
<file src="..\bin\Release\ICSharpCode.SharpZipLib.dll" target="lib\dnxcore50\" />
<file src="..\bin\Release\ICSharpCode.SharpZipLib.pdb" target="lib\dnxcore50\" />
<file src="..\bin\Release\ICSharpCode.SharpZipLib.xml" target="lib\dnxcore50\" />
<file src="ICSharpCode.SharpZipLib.dll" target="lib\Net45\" />
<file src="ICSharpCode.SharpZipLib.pdb" target="lib\Net45\" />
<file src="ICSharpCode.SharpZipLib.xml" target="lib\Net45\" />
<file src="ICSharpCode.SharpZipLib.dll" target="lib\dnx451\" />
<file src="ICSharpCode.SharpZipLib.pdb" target="lib\dnx451\" />
<file src="ICSharpCode.SharpZipLib.xml" target="lib\dnx451\" />
<file src="ICSharpCode.SharpZipLib.dll" target="lib\dnxcore50\" />
<file src="ICSharpCode.SharpZipLib.pdb" target="lib\dnxcore50\" />
<file src="ICSharpCode.SharpZipLib.xml" target="lib\dnxcore50\" />
</files>
</package>
27 changes: 27 additions & 0 deletions Build/run-appveyor-build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Define build command.
$buildCmd = "C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe";
$buildArgs = @(
"ICSharpCode.SharpZipLib.sln"
"/l:C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll",
"/m",
"/p:UseSharedCompilation=false",
"/p:Configuration=Release",
"/p:Platform=Any CPU");

# If build is not a scheduled one, then simply build the project with MSBuild.
if ($env:APPVEYOR_SCHEDULED_BUILD -ne "True") {
& $buildCmd $buildArgs
# & nuget pack <project_file> -OutputDirectory <temp_path>
return # exit script
}

# Else, build project with Coverity Scan.
$publishCoverityExe = $env:APPVEYOR_BUILD_FOLDER + "\packages\PublishCoverity.0.11.0\tools\PublishCoverity.exe";
"Building project with Coverity Scan..."
& cov-build --dir Documentation\cov-int $buildCmd $buildArgs;

# Compress scan data.
& $publishCoverityExe compress -o Documentation\coverity.zip -i Documentation\cov-int;

# Upload scan data.
& $publishCoverityExe publish -z Documentation\coverity.zip -r McNeight/SharpZipLib -t $env:Coverity_Token -e $env:Coverity_Email -d "AppVeyor scheduled build";
2 changes: 1 addition & 1 deletion Build/run-nunit3-tests-debug.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
..\packages\NUnit.ConsoleRunner.3.2.0\tools\nunit3-console.exe /framework:net-4.5 /result:..\Documentation\nunit3-test-results-debug.xml ..\bin\Debug\ICSharpCode.SharpZipLib.Tests.dll
packages\NUnit.ConsoleRunner.3.2.1\tools\nunit3-console.exe --framework=net-4.5 --domain=Single --testlist=ICSharpCode.SharpZipLib.Tests\PassingTests.txt --result=Documentation\nunit3-test-results-debug.xml bin\Debug\ICSharpCode.SharpZipLib.Tests.dll
2 changes: 1 addition & 1 deletion Build/run-nunit3-tests-release.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
..\packages\NUnit.ConsoleRunner.3.2.0\tools\nunit3-console.exe /framework:net-4.5 /result:..\Documentation\nunit3-test-results-release.xml ..\bin\Release\ICSharpCode.SharpZipLib.Tests.dll
packages\NUnit.ConsoleRunner.3.2.1\tools\nunit3-console.exe --framework=net-4.5 --domain=Single --testlist=ICSharpCode.SharpZipLib.Tests\PassingTests.txt --result=Documentation\nunit3-test-results-release.xml bin\Release\ICSharpCode.SharpZipLib.Tests.dll
3 changes: 1 addition & 2 deletions Build/run-opencover.cmd
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
..\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:run-nunit3-tests-release.cmd -register:user -filter:+[ICSharpCode.SharpZipLib]* -output:..\Documentation\opencover-results-release.xml
..\packages\ReportGenerator.2.4.4.0\tools\ReportGenerator.exe -reports:..\Documentation\opencover-results-release.xml -targetdir:..\Documentation\opencover
packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -filter:+[ICSharpCode.SharpZipLib]* -target:Build\run-nunit3-tests-release.cmd -output:Documentation\opencover-results-release.xml
1 change: 1 addition & 0 deletions Build/run-reportgenerator.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
packages\ReportGenerator.2.4.5.0\tools\ReportGenerator.exe -reports:Documentation\opencover-results-release.xml -targetdir:Documentation\opencover
Loading