add go to PATH
This commit is contained in:
parent
903c71c457
commit
8550f59ee6
1
Makefile
1
Makefile
@ -2,6 +2,7 @@ IMAGE?=fedora:latest
|
||||
LDFLAGS?=--ldflags '-extldflags "-static"' --ldflags="-X 'main.commit=$(shell git rev-parse HEAD)' -X 'main.version=$(shell git describe --tags)' -X 'main.date=$(shell date '+%Y-%m-%d %T.%s%z')'"
|
||||
export CGO_ENABLED=1
|
||||
VERSION?=$(shell git describe --tags | sed -e 's/^v//' -e 's/-/_/g')
|
||||
export PATH=$(PATH):$(shell pwd)/go/bin
|
||||
.PHONY=jx-cli
|
||||
|
||||
build: jx-cli
|
||||
|
Loading…
Reference in New Issue
Block a user