Extend go variables even more

This commit is contained in:
Alfonso Acosta
2016-03-10 11:25:15 +01:00
committed by Simon Howe
parent 783297672c
commit 8ac9e7812c
3 changed files with 18 additions and 14 deletions
+6 -5
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
+6 -4
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
+6 -5
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