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

go build flags and golang version output #192

Merged
merged 2 commits into from
May 2, 2013

Conversation

mreiferson
Copy link
Member

this adds the ability to pass go build flags to the Makefile and also prints the golang runtime version in nsqd/nsqlookupd/nsqadmin version output cc @jehiah

@mreiferson
Copy link
Member Author

RFR @jehiah

@@ -28,13 +30,17 @@ func init() {
flag.Var(&nsqdHTTPAddrs, "nsqd-http-address", "nsqd HTTP address (may be given multiple times)")
}

func version() string {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why don't we move this function to util

@ploxiln
Copy link
Member

ploxiln commented May 2, 2013

Is GOBUILDFLAGS already the convention for go? GOFLAGS would match the more classic pattern of CFLAGS, CXXFLAGS, LDFLAGS

@mreiferson
Copy link
Member Author

updated @jehiah @ploxiln

@jehiah
Copy link
Member

jehiah commented May 2, 2013

LGTM.

@ploxiln
Copy link
Member

ploxiln commented May 2, 2013

LGTM

jehiah added a commit that referenced this pull request May 2, 2013
go build flags and golang version output
@jehiah jehiah merged commit b582783 into nsqio:master May 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants