Created
February 18, 2011 11:47
-
-
Save forki/833572 to your computer and use it in GitHub Desktop.
Build und push nuget package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Target "BuildNuGet" (fun _ -> | |
let nugetDocsDir = nugetDir @@ "docs/" | |
let nugetLibDir = nugetDir @@ "lib/" | |
let nugetContentDir = nugetDir @@ "Content/" | |
XCopy docsDir nugetDocsDir | |
XCopy buildDir nugetLibDir | |
XCopy nugetContentSourceDir nugetContentDir | |
NuGet (fun p -> | |
{p with | |
Authors = authors | |
Project = projectName | |
Description = projectDescription | |
OutputPath = nugetDir | |
AccessKey = getBuildParamOrDefault "nugetkey" "" | |
Publish = hasBuildParam "nugetkey" }) "naturalspec.nuspec" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment