1
1
mirror of https://github.com/wader/fq.git synced 2024-11-25 23:13:19 +03:00

make: go build args should not be quoted

This commit is contained in:
Mattias Wadman 2021-10-06 12:02:03 +02:00
parent f9622c2dc7
commit 30ad6433b9

View File

@ -6,7 +6,7 @@ all: test fq
.PHONY: fq
fq: VERSION=$(shell git describe --all --long --dirty 2>/dev/null || echo nogit)
fq:
CGO_ENABLED=0 go build -o fq -ldflags "${GO_BUILD_LDFLAGS} -X main.version=${VERSION}" "${GO_BUILD_FLAGS}" .
CGO_ENABLED=0 go build -o fq -ldflags "${GO_BUILD_LDFLAGS} -X main.version=${VERSION}" ${GO_BUILD_FLAGS} .
.PHONY: test
test: testgo testjq testcli