21 lines
263 B
Makefile
21 lines
263 B
Makefile
|
CMD_NAME := git-project-manager
|
||
|
|
||
|
.PHONY: all test build install docs clean
|
||
|
|
||
|
all: test build install docs
|
||
|
|
||
|
test:
|
||
|
go test -v ./...
|
||
|
|
||
|
build: test
|
||
|
go build -o bin/${CMD_NAME}
|
||
|
|
||
|
install:
|
||
|
go install -v .
|
||
|
|
||
|
docs:
|
||
|
bin/${CMD_NAME} docs md
|
||
|
|
||
|
clean:
|
||
|
rm -rf bin/${CMD_NAME}
|