Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAKE 4.2 or newer starts with wrong Target #929

Closed
utopius opened this issue Aug 27, 2015 · 2 comments
Closed

FAKE 4.2 or newer starts with wrong Target #929

utopius opened this issue Aug 27, 2015 · 2 comments

Comments

@utopius
Copy link

utopius commented Aug 27, 2015

After updating to FAKE 4.3.1 I got weird behavior regarding the build order.
The resulting build order is calculated correctly showing Clean and Prepare as first Targets to be executed.
But then FAKE starts with the Target Core instead of the displayed build order, it simply skips Clean and Prepare.
Fake 4.2 shows the same behavior.
When I switch back to FAKE 4.1 it works correctly and starts with Clean. Am I doing something wrong regarding the dependencies or is this a bug? Could this be caused by the new soft dependencies feature?

Here the targets (exemplary):

Target "Core" [...]
Target "Thirdparty" [...]
Target "Updater" [...]
Target "Clean" [...]
Target "Prepare" [...]
Target "Product" DoNothing

"Product" <== ["Core"; "Thirdparty"; ]
"Setup" <== ["Clean"; "Prepare"; "Product"; "Updater"]
RunTargetOrDefault "Product"

The FAKE output:

Shortened DependencyGraph for Target Setup:
<== Setup
   <== Clean
   <== Prepare
   <== Product
      <== Core
      <== Thirdparty
   <== Updater

The resulting target order is:
 - Clean
 - Prepare
 - Core
 - Thirdparty
 - Product
 - Updater
 - Setup

And then it starts directly with Core instead of Clean:

Starting Target: Core
@forki
Copy link
Member

forki commented Aug 27, 2015

I guess it's related to #920
@jlewicki could you please take a look?

@forki
Copy link
Member

forki commented Aug 28, 2015

see #931

@forki forki closed this as completed Aug 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants