Skip to content

Conversation

@misha-ridge
Copy link
Contributor

This change adds a location of mg.Deps invocation, shrinking the search space
from "all your build scripts" to "this particular mg.Deps invocation"

@natefinch
Copy link
Member

Looks good, but can you write a test for it? Can be pretty simple, just something that'll break if we change the number of function calls between the name and the error?

This change adds a location of mg.Deps invocation, shrinking the search space
from "all your build scripts" to "this particular mg.Deps invocation"
@misha-ridge
Copy link
Contributor Author

Sure, added a test.

@natefinch
Copy link
Member

hmm probably some problem on tip from go modules, I'll look into it.

@misha-ridge
Copy link
Contributor Author

Yes, I saw this test failing with modules.

Copy link
Member

@natefinch natefinch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@natefinch natefinch merged commit 05f8c9d into magefile:master Jul 18, 2019
mojzesh pushed a commit to mojzesh/mage that referenced this pull request Oct 12, 2019
magefile#241)

This change adds a location of mg.Deps invocation, shrinking the search space
from "all your build scripts" to "this particular mg.Deps invocation"
mojzesh pushed a commit to mojzesh/mage that referenced this pull request Oct 12, 2019
magefile#241)

This change adds a location of mg.Deps invocation, shrinking the search space
from "all your build scripts" to "this particular mg.Deps invocation"
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

Successfully merging this pull request may close these issues.

2 participants