Extend go variables even more

This commit is contained in:
Alfonso Acosta
2016-02-25 12:10:37 +00:00
committed by Simon Howe
parent 783297672c
commit 8ac9e7812c
3 changed files with 18 additions and 14 deletions

View File

@@ -1,19 +1,20 @@
.PHONY: all vet lint build test clean
GO ?= env GO15VENDOREXPERIMENT=1 GOGC=off go
all: build test vet lint
vet:
go vet ./...
$(GO) vet ./...
lint:
golint .
build:
go build
$(GO) build
test:
go test
$(GO) test
clean:
go clean
env -u GOGC $(GO) clean

View File

@@ -1,19 +1,21 @@
.PHONY: all vet lint build test clean
GO ?= env GO15VENDOREXPERIMENT=1 GOGC=off go
all: build test vet lint
vet:
go vet ./...
$(GO) vet ./...
lint:
golint .
build:
go build
$(GO) build
test:
go test
env -u GOGC $(GO) test
clean:
go clean
$(GO) clean

View File

@@ -1,19 +1,20 @@
.PHONY: all vet lint build test clean
GO ?= env GO15VENDOREXPERIMENT=1 GOGC=off go
all: build test vet lint
vet:
go vet ./...
$(GO) vet ./...
lint:
golint .
build:
go build
$(GO) build
test:
go test
$(GO) test
clean:
go clean
env -u GOGC $(GO) clean