Copy more files to the nuget packaing path in the build

This commit is contained in:
Steffen Forkmann
2013-10-31 11:11:40 +01:00
parent 37a72961ba
commit 85e7dbeff1
+8 -2
View File
@@ -13,7 +13,13 @@ Target "BuildApp" (fun _ ->
|> Log "AppBuild-Output: "
)
Target "CopyAdditionalFiles" (fun _ ->
Target "CreateNuget" (fun _ ->
let net45Dir = packageDir @@ "lib/net45/"
let netcore45Dir = packageDir @@ "lib/netcore45/"
CleanDirs [net45Dir; netcore45Dir]
CopyFile net45Dir (buildDir @@ "Release/Net40/Octokit.dll") // TODO: this a bug in the sln?!
CopyFile netcore45Dir (buildDir @@ "Release/NetCore45/Octokit.dll")
CopyFiles packageDir ["LICENSE.txt"; "README.md"]
)
@@ -21,7 +27,7 @@ Target "Default" DoNothing
"Clean"
==> "BuildApp"
==> "CopyAdditionalFiles"
==> "CreateNuget"
==> "Default"
RunTargetOrDefault "Default"