rackspace / rack

A CLI for Rackspace (unmaintained)
Other
81 stars 57 forks source link

Can't build #446

Open azr opened 8 years ago

azr commented 8 years ago

Hello ! :)

$ ./script/build

Building rack!
# github.com/rackspace/rack
/usr/local/opt/go/libexec/pkg/tool/darwin_amd64/link: -X flag requires argument of the form importpath.name=value
jrperritt commented 8 years ago

Ah, yes, script/build needs a Go version less than 1.7. I think the format of the -X args changed (hence the error message). I'll try to find some time over the next week to look into it.

jrperritt commented 8 years ago

Note though that go build should work just fine with any Go version. The -X args are just used to set the commit hash and version in the binary.

azr commented 8 years ago

Hey there yes, I just commented the lines that switch from space to '=' and it built !