Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

Add GoBuildTags property in Srcfile config #16

Open
sqs opened this issue Sep 16, 2014 · 0 comments
Open

Add GoBuildTags property in Srcfile config #16

sqs opened this issue Sep 16, 2014 · 0 comments

Comments

@sqs
Copy link
Member

sqs commented Sep 16, 2014

This would allow srclib-go to analyze code as though certain build tags were selected.

Repository authors would place a Srcfile in their repository's root directory like:

{"Config": {"GoBuildTags": "whatever"}}

(Currently we have GOROOT, GOPATH, and SourceImports config properties, so this would fit right in.)

Useful for, e.g., https://github.com/go-fsnotify/fsnotify/issues/44

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant