Skip to content

Commit

Permalink
adding go modules env
Browse files Browse the repository at this point in the history
  • Loading branch information
jprobinson committed Feb 8, 2019
1 parent ae56bdc commit 10fc983
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
all: test

build:
export GO111MODULE=on; \
go build ./...
export GO111MODULE=on; \
cd ./examples; \
go build ./...

Expand All @@ -19,14 +21,14 @@ vet:
go vet ./...

test: lint vet
export GO111MODULE=on; \
go test -v ./...
export GO111MODULE=on; \
cd ./examples; \
go test -v ./...

clean:
go clean -i ./...

coverage:
export GO111MODULE=on; \
./coverage.sh --coveralls

.PHONY: \
Expand Down

0 comments on commit 10fc983

Please sign in to comment.