binary to be written directly to bindir
This commit is contained in:
parent
02c9b97388
commit
b76b1c6f97
@ -17,5 +17,5 @@ describe=$(git describe --tags --always --dirty)
|
||||
export GOPATH="$PWD/.gopath"
|
||||
cd .gopath/src/github.com/github/gh-ost
|
||||
|
||||
# We put the binaries into libexec/ and then put the shim with the appropriate name into bin/
|
||||
go build -o "$libexecdir/gh-ost" -ldflags "-X main.AppVersion=${version} -X main.BuildDescribe=${describe}" ./go/cmd/gh-ost/main.go
|
||||
# We put the binaries directly into the bindir, because we have no need for shim wrappers
|
||||
go build -o "$bindir/gh-ost" -ldflags "-X main.AppVersion=${version} -X main.BuildDescribe=${describe}" ./go/cmd/gh-ost/main.go
|
||||
|
Loading…
Reference in New Issue
Block a user