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

GoFlags are not honored for Build Tags #48

Closed
FloThinksPi opened this issue Sep 2, 2021 · 2 comments · Fixed by #52
Closed

GoFlags are not honored for Build Tags #48

FloThinksPi opened this issue Sep 2, 2021 · 2 comments · Fixed by #52

Comments

@FloThinksPi
Copy link

When i let it run with GOFLAGS="-tags=psql" gomarkdoc ./... and have packages needing this build tag e.g. // +build psql the doc is not generated for such files. GOFLAGS env variable is not honored and i dont see any other way to include such files.

Any Idea ?

@princjef
Copy link
Owner

Good catch. It looks like the processing of the package allows for tags to be specified. Let me see if I can work up a fix

@FloThinksPi
Copy link
Author

Thanks @princjef 🚀 :)

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 a pull request may close this issue.

2 participants