mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 12:42:32 +00:00
Copy more files to the nuget packaing path in the build
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user