{"action":"created","issue":{"url":"https://api.github.com/repos/constabulary/gb/issues/81","labels_url":"https://api.github.com/repos/constabulary/gb/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/constabulary/gb/issues/81/comments","events_url":"https://api.github.com/repos/constabulary/gb/issues/81/events","html_url":"https://github.com/constabulary/gb/issues/81","id":75878727,"number":81,"title":"Build constraints","user":{"login":"drewwells","id":239123,"avatar_url":"https://avatars.githubusercontent.com/u/239123?v=3","gravatar_id":"","url":"https://api.github.com/users/drewwells","html_url":"https://github.com/drewwells","followers_url":"https://api.github.com/users/drewwells/followers","following_url":"https://api.github.com/users/drewwells/following{/other_user}","gists_url":"https://api.github.com/users/drewwells/gists{/gist_id}","starred_url":"https://api.github.com/users/drewwells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewwells/subscriptions","organizations_url":"https://api.github.com/users/drewwells/orgs","repos_url":"https://api.github.com/users/drewwells/repos","events_url":"https://api.github.com/users/drewwells/events{/privacy}","received_events_url":"https://api.github.com/users/drewwells/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-13T07:18:53Z","updated_at":"2015-06-12T11:47:24Z","closed_at":null,"body":"Does gb plan to support custom build constraints? ie `go build -tags dev` mentioned here: http://golang.org/pkg/go/build/#Context"},"comment":{"url":"https://api.github.com/repos/constabulary/gb/issues/comments/111466307","html_url":"https://github.com/constabulary/gb/issues/81#issuecomment-111466307","issue_url":"https://api.github.com/repos/constabulary/gb/issues/81","id":111466307,"user":{"login":"mborho","id":58875,"avatar_url":"https://avatars.githubusercontent.com/u/58875?v=3","gravatar_id":"","url":"https://api.github.com/users/mborho","html_url":"https://github.com/mborho","followers_url":"https://api.github.com/users/mborho/followers","following_url":"https://api.github.com/users/mborho/following{/other_user}","gists_url":"https://api.github.com/users/mborho/gists{/gist_id}","starred_url":"https://api.github.com/users/mborho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mborho/subscriptions","organizations_url":"https://api.github.com/users/mborho/orgs","repos_url":"https://api.github.com/users/mborho/repos","events_url":"https://api.github.com/users/mborho/events{/privacy}","received_events_url":"https://api.github.com/users/mborho/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T11:47:24Z","updated_at":"2015-06-12T11:47:24Z","body":"@davecheney thanks, I've found a way to build a static binary now:\r\n\r\nGOPATH=/path/to/gb/project/vendor:/path/to/project CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extld ld -extldflags -static' -a -x .\r\n"}}