Skip to content

Commit

Permalink
Fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoh86 committed Mar 9, 2019
1 parent b252631 commit 422db52
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: gen lint test install man e2e
.PHONY: gen lint test install man

VERSION := `git vertag get`
COMMIT := `git rev-parse HEAD`
Expand All @@ -10,14 +10,10 @@ lint: gen
golangci-lint run

test: lint
go test v --race ./...
go test -v --race ./...

install: test
go install -a -ldflags "-X=main.version=$(VERSION) -X=main.commit=$(COMMIT)" ./...

man: test
go run main.go --help-man > gogh.1

e2e:
circleci local execute --job e2e --volume $(PWD):/go/src/github.com/kyoh86/gogh

0 comments on commit 422db52

Please sign in to comment.