mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 02:15:12 +00:00
22 lines
375 B
Makefile
22 lines
375 B
Makefile
.PHONY: clean
|
|
clean:
|
|
rm -rf ./dist/
|
|
rm -rf ./git-chglog
|
|
rm -rf $(GOPATH)/bin/git-chglog
|
|
rm -rf cover.out
|
|
|
|
.PHONY: build
|
|
build:
|
|
go build -o git-chglog ./cmd/git-chglog
|
|
|
|
.PHONY: test
|
|
test:
|
|
go test -covermode atomic -coverprofile cover.out -v ./...
|
|
|
|
.PHONY: install
|
|
install:
|
|
go install ./cmd/git-chglog
|
|
|
|
.PHONY: changelog
|
|
changelog:
|
|
@git-chglog --next-tag $(tag) $(tag)
|