File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ module Commandline =
51
51
| _ -> " build"
52
52
53
53
let needsFullBuild =
54
+ printfn " %s , %A " target skipTests
55
+
54
56
match ( target, skipTests) with
55
57
| (_, true ) -> true
56
58
//dotnet-xunit needs to a build of its own anyways
@@ -95,4 +97,5 @@ module Commandline =
95
97
traceError usage
96
98
exit 2
97
99
100
+ setBuildParam " target" target
98
101
traceHeader target
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ Target "Clean" Build.Clean
36
36
37
37
Target " Restore" Build.Restore
38
38
39
- Target " IncrementalBuild" <| fun _ -> Build.Compile false
40
-
41
39
Target " FullBuild" <| fun _ -> Build.Compile false
42
40
43
41
Target " Test" Tests.RunUnitTests
@@ -80,21 +78,23 @@ Target "Canary" <| fun _ ->
80
78
==> " Build"
81
79
82
80
" Clean"
83
- ==> " FullBuild"
81
+ =?> ( " FullBuild" , Commandline.needsFullBuild )
84
82
==> " Profile"
85
83
86
84
" Clean"
87
- ==> " FullBuild"
85
+ =?> ( " FullBuild" , Commandline.needsFullBuild )
88
86
==> " Benchmark"
89
87
90
88
" Version"
91
- ==> " Release" ==> " Canary"
89
+ ==> " Release"
90
+ ==> " Canary"
92
91
93
- " FullBuild"
92
+ " Clean"
93
+ =?> ( " FullBuild" , Commandline.needsFullBuild)
94
94
==> " Integrate"
95
95
96
96
" Build"
97
97
==> " Release"
98
98
99
- // start build
100
- RunTargetOrDefault Commandline.target
99
+ RunTargetOrListTargets ()
100
+
You can’t perform that action at this time.
0 commit comments