add go to PATH
Some checks failed
Lint / golangci-lint (push) Successful in 9m47s
Declarative Tests / test (push) Failing after 15s
Declarative Tests / build (push) Failing after 44s
Declarative Tests / build-focal (push) Failing after 29s

This commit is contained in:
Matthew Rich 2024-05-28 21:38:48 -07:00
parent 903c71c457
commit 8550f59ee6

View File

@ -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