Disable make parallelism

This commit is contained in:
Joel Speed 2019-01-07 16:41:11 +00:00
parent 1dddd818c4
commit 85d76be6b1
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB

View File

@ -1,6 +1,7 @@
include .env include .env
BINARY := oauth2_proxy BINARY := oauth2_proxy
VERSION := $(shell git describe --always --long --dirty --tags 2>/dev/null || echo "undefined") VERSION := $(shell git describe --always --long --dirty --tags 2>/dev/null || echo "undefined")
.NOTPARALLEL:
.PHONY: all .PHONY: all
all: dep lint $(BINARY) all: dep lint $(BINARY)
@ -49,7 +50,7 @@ test: dep lint
$(GO) test -v -race $(go list ./... | grep -v /vendor/) $(GO) test -v -race $(go list ./... | grep -v /vendor/)
.PHONY: release .PHONY: release
release: dep lint test release: lint test
mkdir release mkdir release
GOOS=darwin GOARCH=amd64 go build -ldflags="-X main.VERSION=${VERSION}" -o release/$(BINARY)-darwin-amd64 github.com/pusher/oauth2_proxy GOOS=darwin GOARCH=amd64 go build -ldflags="-X main.VERSION=${VERSION}" -o release/$(BINARY)-darwin-amd64 github.com/pusher/oauth2_proxy
GOOS=linux GOARCH=amd64 go build -ldflags="-X main.VERSION=${VERSION}" -o release/$(BINARY)-linux-amd64 github.com/pusher/oauth2_proxy GOOS=linux GOARCH=amd64 go build -ldflags="-X main.VERSION=${VERSION}" -o release/$(BINARY)-linux-amd64 github.com/pusher/oauth2_proxy