From dd0d88dfae10c836d2b0b4fbfff6e279af470ff5 Mon Sep 17 00:00:00 2001 From: Thomas Broust Date: Thu, 2 Oct 2014 16:28:56 +0200 Subject: [PATCH] Includes the help files in the nuget package Former-commit-id: 7bf9225928ccea6c80b22534221bae9def303696 Former-commit-id: 2e0c2247b421a11aa5c5b43668470fc0402f1ce0 --- build/NuSpecs/ImageProcessor.nuspec | 1 + build/build.ps1 | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build/NuSpecs/ImageProcessor.nuspec b/build/NuSpecs/ImageProcessor.nuspec index e598faeef..25f95dee8 100644 --- a/build/NuSpecs/ImageProcessor.nuspec +++ b/build/NuSpecs/ImageProcessor.nuspec @@ -30,5 +30,6 @@ + \ No newline at end of file diff --git a/build/build.ps1 b/build/build.ps1 index 41b98c792..0eb0efb55 100644 --- a/build/build.ps1 +++ b/build/build.ps1 @@ -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" @@ -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 { @@ -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...