-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.fsx
More file actions
40 lines (33 loc) · 799 Bytes
/
build.fsx
File metadata and controls
40 lines (33 loc) · 799 Bytes
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
36
37
38
39
40
#load ".fake/build.fsx/intellisense.fsx"
open Fake.Core
open Fake.DotNet
open Fake.IO
open Fake.IO.FileSystemOperators
open Fake.IO.Globbing.Operators
open Fake.Core.TargetOperators
Target.create "Clean" (fun _ ->
!! "**/bin"
++ "**/obj"
|> Shell.cleanDirs
)
Target.create "Build" (fun _ ->
!! "Float.xAPI/*.fsproj"
|> Seq.iter (DotNet.build id)
)
// /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
Target.create "Test" (fun _ ->
!! "Float.xAPI.Tests/*.csproj"
|> Seq.iter (DotNet.test id)
)
// /p:Configuration=Release /p:PackageVersion=0.0.2
Target.create "Pack" (fun _ ->
!! "Float.xAPI/*.fsproj"
|> Seq.iter (DotNet.pack id)
)
Target.create "All" ignore
"Clean"
==> "Build"
==> "Test"
==> "Pack"
==> "All"
Target.runOrDefault "All"