mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 02:15:12 +00:00
feat: switch from dep to go mod (#85)
This commit is contained in:
parent
db796966b3
commit
41ad31326b
330 changed files with 90 additions and 168034 deletions
12
Makefile
12
Makefile
|
|
@ -1,13 +1,5 @@
|
|||
.PHONY: bootstrap
|
||||
bootstrap: clean deps
|
||||
|
||||
.PHONY: deps
|
||||
deps:
|
||||
dep ensure -v
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf ./vendor/
|
||||
rm -rf ./dist/
|
||||
rm -rf ./git-chglog
|
||||
rm -rf $(GOPATH)/bin/git-chglog
|
||||
|
|
@ -19,11 +11,11 @@ build:
|
|||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test -v `go list ./... | grep -v /vendor/`
|
||||
go test -v `go list ./...`
|
||||
|
||||
.PHONY: coverage
|
||||
coverage:
|
||||
goverage -coverprofile=cover.out `go list ./... | grep -v /vendor/`
|
||||
goverage -coverprofile=cover.out `go list ./...`
|
||||
go tool cover -func=cover.out
|
||||
@rm -rf cover.out
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue