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

Support build tags #38

Closed
howardjohn opened this issue Nov 6, 2020 · 3 comments
Closed

Support build tags #38

howardjohn opened this issue Nov 6, 2020 · 3 comments

Comments

@howardjohn
Copy link

Currently it seems build tags are not respected. I would like files like // +build !bloat to be ignored, since they will not end up in my final binaries anyways. Specifically with graph, but likely others apply as well

@howardjohn
Copy link
Author

Seems like this is supported but I haven't figured out exactly how to do it. goda graph -cluster -short 'tags=bloat(./...)' is close I think, but doesn't seem to quite do it

@howardjohn
Copy link
Author

aha, 'bloat=1(./...)' seems to do it! The readme mentions this but I think its for a special case of test=1 not tags

@egonelbre
Copy link
Member

Ah, yes, I did add the feature, but forgot to update the documentation.

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