github.com/jakewarren/define@v1.0.1-0.20230216022724-0146b4213218/Makefile (about) 1 2 BINARY := define 3 4 LDFLAGS_DEV = -ldflags "-X main.version=${VERSION}" 5 6 build: 7 @go build ${LDFLAGS_DEV} -o bin/${BINARY} cmd/define/main.go 8 9 test: 10 @go test -v -race ./... 11 12 # update the golden files used for the integration tests 13 update-tests: 14 @go test integration/cli_test.go -update