Skip to content

Commit

Permalink
build: Use <== to define target dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Aug 2, 2023
1 parent a584b26 commit 9feeda6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ Target.create

Target.create "All" ignore

"Build" ==> "Test" ==> "TestTrim" ==> "Pack" ==> "All"

"Clean" =?> ("Build", Cli.clean)
"All" <== [ "Test"; "TestTrim"; "Pack" ]
"Test" <== [ "Build" ]
"Pack" <== [ "Build" ]
"Build" <== [ if Cli.clean then "Clean" ]

Target.runOrDefaultWithArguments "All"

0 comments on commit 9feeda6

Please sign in to comment.