@@ -77,34 +77,34 @@ Target.create "YarnInstall" <| fun _ ->
77
77
78
78
Target.create " Prepare" ignore
79
79
80
- Target.create " BuildOnly " <| fun _ ->
80
+ Target.create " BuildForPublish " <| fun _ ->
81
81
dotnetExec " fable" $" {srcDir} --sourceMaps --run webpack --mode=production"
82
82
83
- Target.create " TestBuild " <| fun _ ->
83
+ Target.create " BuildForTest " <| fun _ ->
84
84
dotnetExec " fable" $" {srcDir} --sourceMaps --define DEBUG --run webpack --mode=development"
85
85
86
86
Target.create " Build" ignore
87
87
88
88
Target.create " Watch" <| fun _ ->
89
89
dotnetExec " fable" $" watch {srcDir} --sourceMaps --define DEBUG --run webpack -w --mode=development"
90
90
91
+ Target.create " TestComplete" ignore
92
+
91
93
" Clean"
92
94
==> " YarnInstall"
93
95
==> " Restore"
94
96
==> " Prepare"
95
97
==> " Build"
96
98
97
99
" Prepare"
98
- ?=> " BuildOnly"
100
+ ?=> " BuildForTest"
101
+ ?=> " TestComplete"
102
+ ?=> " BuildForPublish"
99
103
==> " Build"
100
104
101
105
" Prepare"
102
106
?=> " Watch"
103
107
104
- " Prepare"
105
- ?=> " TestBuild"
106
- ?=> " BuildOnly"
107
-
108
108
// Test targets
109
109
110
110
module Test =
@@ -160,7 +160,7 @@ Target.create "TestJsooGenerateBindings" <| fun _ -> Test.Jsoo.generateBindings
160
160
Target.create " TestJsooBuild" <| fun _ -> Test.Jsoo.build ()
161
161
Target.create " TestJsoo" ignore
162
162
163
- " TestBuild "
163
+ " BuildForTest "
164
164
==> " TestJsooClean"
165
165
==> " TestJsooGenerateBindings"
166
166
==> " TestJsooBuild"
@@ -171,10 +171,9 @@ Target.create "TestOnly" ignore
171
171
172
172
" TestJsoo"
173
173
==> " TestOnly"
174
+ ==> " TestComplete"
174
175
==> " Test"
175
176
176
- " Build" ==> " Test"
177
-
178
177
// Publish targets
179
178
180
179
module Publish =
@@ -232,15 +231,15 @@ Target.create "PublishJsoo" <| fun _ ->
232
231
Publish.Jsoo.updateVersion ()
233
232
Publish.Jsoo.testBuild ()
234
233
235
- " BuildOnly "
234
+ " BuildForPublish "
236
235
==> " PublishNpm"
237
236
==> " PublishJsoo"
238
237
==> " PublishOnly"
239
238
==> " Publish"
240
239
241
240
" TestJsoo" ==> " PublishJsoo"
242
241
243
- " Build" = => " Publish"
242
+ " Build" ?=> " Test " ? => " Publish"
244
243
245
244
Target.create " All" ignore
246
245
0 commit comments