Skip to content

Conversation

@natefinch
Copy link
Member

When calling mage import, we weren't prefiltering the list of go files, so we'd get files with build tags and test files and such. What we want is just the normal go files for building the library.
Using go list returns us that, so use that.

This fixes #276

When calling mage import, we weren't prefiltering the list of go
files, so we'd get files with build tags and test files and such.
What we want is just the normal go files for building the library.
Using go list returns us that, so use that.
@natefinch natefinch changed the title filter mageimport files Fix #276: filter mageimport files Jan 14, 2020
@natefinch natefinch merged commit 0c7e3de into master Jan 14, 2020
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.

mage_output_file.go generated with missing targets

2 participants