diff options
Diffstat (limited to 'Makefile.build.mk')
-rw-r--r-- | Makefile.build.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.build.mk b/Makefile.build.mk new file mode 100644 index 00000000..70f446d4 --- /dev/null +++ b/Makefile.build.mk @@ -0,0 +1,20 @@ +.PHONY: all setup build clean + +all: gitlab-pages + +setup: clean .GOPATH/.ok + go get -u github.com/FiloSottile/gvt + - ./bin/gvt fetch golang.org/x/tools/cmd/goimports + - ./bin/gvt fetch github.com/wadey/gocovmerge + - ./bin/gvt fetch github.com/golang/lint/golint + - ./bin/gvt fetch github.com/fzipp/gocyclo + +build: .GOPATH/.ok + $Q go install $(if $V,-v) $(VERSION_FLAGS) $(IMPORT_PATH) + +clean: + $Q rm -rf bin .GOPATH gitlab-pages + +gitlab-pages: build + $Q cp -f ./bin/gitlab-pages . + |