Skip to content

Commit

Permalink
better makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Sep 26, 2018
1 parent 40e48ce commit b4a2a40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ deps:
$(GO_BIN) get github.com/gobuffalo/release
$(GO_BIN) get github.com/gobuffalo/packr/packr
$(GO_BIN) get -tags ${TAGS} -t ./...
ifeq ($(GO111MODULE),on)
$(GO_BIN) mod tidy
endif

build:
packr
Expand All @@ -27,11 +29,15 @@ lint:

update:
$(GO_BIN) get -u -tags ${TAGS}
ifeq ($(GO111MODULE),on)
$(GO_BIN) mod tidy
endif
packr
make test
make install
ifeq ($(GO111MODULE),on)
$(GO_BIN) mod tidy
endif

release-test:
$(GO_BIN) test -tags ${TAGS} -race ./...
Expand Down

0 comments on commit b4a2a40

Please sign in to comment.