-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathbuild.fsx
35 lines (29 loc) · 883 Bytes
/
build.fsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#r @"packages/FAKE/tools/FakeLib.dll"
open Fake
let version = "1.0.1"
Target "Clean" (fun _ ->
!! "*/bin/"
|> CleanDirs
)
Target "Build" (fun _ ->
!! "*/*.csproj"
|> MSBuildRelease null "Build"
|> Log "AppBuild-Output: "
)
Target "Package" (fun _ ->
"MonoTouch.SlideoutNavigation/MonoTouch.SlideoutNavigation.nuspec"
|> NuGet (fun p ->
{p with
Project = "MonoTouch.SlideoutNavigation"
WorkingDir = "MonoTouch.SlideoutNavigation/bin"
OutputPath = "MonoTouch.SlideoutNavigation/bin"
Files = [("Release/*.dll", Some "lib/Xamarin.iOS10", None)]
Version = version
ToolPath = "nuget"
AccessKey = getBuildParamOrDefault "nugetkey" ""
Publish = hasBuildParam "nugetkey"
}))
"Clean"
==> "Build"
==> "Package"
RunTargetOrDefault "Build"