Skip to content

Commit d0936c6

Browse files
committed
Reorder build target dependencies
1 parent 670e657 commit d0936c6

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

build.fsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ let assertExitCodeZero x = if x = 0 then () else failwithf "Command failed with
226226
let runCmdIn workDir exe = Printf.ksprintf (fun args -> Shell.Exec(exe, args, workDir) |> assertExitCodeZero)
227227
let run exe = runCmdIn "." exe
228228

229-
Target "DotnetCoreCodeGen" (fun _ ->
229+
Target "CodeGen.NetCore" (fun _ ->
230230
let lexArgs = "--lexlib Internal.Utilities.Text.Lexing"
231231
let yaccArgs = "--internal --parslib Internal.Utilities.Text.Parsing"
232232
let module1 = "--module Microsoft.FSharp.Compiler.AbstractIL.Internal.AsciiParser"
@@ -284,20 +284,25 @@ Target "Nuget.AddNetCore" (fun _ ->
284284

285285
Target "Prepare" DoNothing
286286
Target "PrepareRelease" DoNothing
287-
Target "All" DoNothing
288287
Target "Release" DoNothing
289288
Target "CreatePackage" DoNothing
289+
Target "All" DoNothing
290+
Target "All.NetCore" DoNothing
291+
292+
"Clean"
293+
==> "CodeGen.NetCore"
294+
==> "Build.NetCore"
295+
==> "RunTests.NetCore"
296+
==> "All.NetCore"
290297

291298
"Clean"
292299
=?> ("BuildVersion", isAppVeyorBuild)
293300
==> "AssemblyInfo"
294301
==> "GenerateFSIStrings"
295302
==> "Prepare"
296303
==> "Build"
297-
=?> ("DotnetCoreCodeGen", isDotnetSDKInstalled)
298-
=?> ("Build.NetCore", isDotnetSDKInstalled)
299304
==> "RunTests"
300-
=?> ("RunTests.NetCore", isDotnetSDKInstalled)
305+
=?> ("All.NetCore", isDotnetSDKInstalled)
301306
==> "All"
302307

303308
"All"

0 commit comments

Comments
 (0)