Skip to content

Commit

Permalink
Includes the help files in the nuget package
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmo0 committed Oct 2, 2014
1 parent 42b26aa commit c3f126f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions build/NuSpecs/ImageProcessor.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@
</metadata>
<files>
<file src="..\_BuildOutput\ImageProcessor\lib\net45\ImageProcessor.dll" target="lib\net45\ImageProcessor.dll" />
<file src="..\_BuildOutput\Help\docu\**" target="contents\docs\api" />
</files>
</package>
8 changes: 4 additions & 4 deletions build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Properties {
$TEST_RESULTS = Join-Path $BUILD_PATH "TestResults"

# API documentation
$API_BIN_PATH = Join-Path $BIN_PATH "ImageProcessor\lib\net45\ImageProcessor.dll" # from what Docu builds its help output
$API_DOC_PATH = Join-Path $BIN_PATH "Help\docu" # change this to switch to Doxygen help
$API_BIN_PATH = Join-Path $BIN_PATH "ImageProcessor\lib\net45\ImageProcessor.dll" # from which DLL Docu builds its help output
$API_DOC_PATH = Join-Path $BIN_PATH "Help\docu"

# External binaries paths
$NUGET_EXE = Join-Path $SRC_PATH ".nuget\NuGet.exe"
Expand All @@ -39,7 +39,7 @@ Properties {
Framework "4.0x86"
FormatTaskName "-------- {0} --------"

task default -depends Cleanup-Binaries, Set-VersionNumber, Build-Solution, Run-Tests, Generate-APIDoc, Generate-Package
task default -depends Cleanup-Binaries, Set-VersionNumber, Build-Solution, Run-Tests, Generate-APIDoc, Generate-Nuget

# cleans up the binaries output folder
task Cleanup-Binaries {
Expand Down Expand Up @@ -162,7 +162,7 @@ task Generate-APIDoc -depends Build-Solution {
}

# generates a Nuget package
task Generate-Package -depends Set-VersionNumber, Build-Solution {
task Generate-Nuget -depends Set-VersionNumber, Build-Solution, Generate-APIDoc {
Write-Host "Generating Nuget packages for each project"

# Nuget doesn't create the output dir automatically...
Expand Down

0 comments on commit c3f126f

Please sign in to comment.