Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions Build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,23 @@ open Fake.Core.TargetOperators

let dependencies =
[
"Clean" ==> "RestoreClient" ==> "Bundle"
"Clean" ==> "RestoreClient" ==> "Build" ==> "Run"
// Two independent prongs: a self-sufficient server build (Build restores
// and builds GenPRES.sln itself, no npm involved) and a client toolchain
// (Clean clears stale Fable/.jsx output, then RestoreClient runs npm ci).
// Each leaf target below declares only the prong(s) its body actually uses,
// rather than chaining everything through one sequence.
"Clean" ==> "RestoreClient"

"RestoreClient" ==> "Build" ==> "TestHeadless"
"RestoreClient" ==> "Build" ==> "WatchTests"
"RestoreClient" ==> "Bundle"

"Build" ==> "Run"
"RestoreClient" ==> "Run"

"Build" ==> "TestHeadless"
"RestoreClient" ==> "TestHeadless"

"Build" ==> "WatchTests"
"RestoreClient" ==> "WatchTests"
Comment thread
7sharp9 marked this conversation as resolved.

"Build" ==> "ServerTests"
"Build" ==> "CheckVersions"
Expand Down