mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 02:15:12 +00:00
chore: Add Makefile for task management
This commit is contained in:
parent
066fa21430
commit
4dd9b350e6
1 changed files with 28 additions and 0 deletions
28
Makefile
Normal file
28
Makefile
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
.PHONY: bootstrap
|
||||
bootstrap: clean deps
|
||||
|
||||
.PHONY: deps
|
||||
deps:
|
||||
dep ensure -v
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf ./vendor/
|
||||
rm -rf ./git-chglog
|
||||
rm -rf $(GOPATH)/bin/git-chglog
|
||||
|
||||
.PHONY: bulid
|
||||
build:
|
||||
go build -i -o git-chglog
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test -v `go list ./... | grep -v /vendor/`
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
go install ./cmd/git-chglog
|
||||
|
||||
.PHONY: chglog
|
||||
chglog:
|
||||
git-chglog -c ./.chglog/config.yml
|
||||
Loading…
Add table
Add a link
Reference in a new issue