git.iko.soy/typeable/oauth2-proxy
on master help sign in
Disable make parallelism
commit85d76be6b1b7858aed229b0c84a30d04193e7fcd authorJoel Speed <Joel.speed@hotmail.co.uk> dateMon 7 Jan 2019, 16:41 (8 years ago) parent1dddd81
1 file changed+2−1
Makefile+2−1
Makefile+2−1
@@ -1,6 +1,7 @@
11include .env
22BINARY := oauth2_proxy
33VERSION := $(shell git describe --always --long --dirty --tags 2>/dev/null || echo "undefined")
4+.NOTPARALLEL:
45
56.PHONY: all
67all: dep lint $(BINARY)
@@ -49,7 +50,7 @@ test: dep lint
4950 $(GO) test -v -race $(go list ./... | grep -v /vendor/)
5051
5152.PHONY: release
52−release: dep lint test
53+release: lint test
5354 mkdir release
5455 GOOS=darwin GOARCH=amd64 go build -ldflags="-X main.VERSION=${VERSION}" -o release/$(BINARY)-darwin-amd64 github.com/pusher/oauth2_proxy
5556 GOOS=linux GOARCH=amd64 go build -ldflags="-X main.VERSION=${VERSION}" -o release/$(BINARY)-linux-amd64 github.com/pusher/oauth2_proxy