rename make testsd target to test
This commit is contained in:
parent
e18737c043
commit
bf80945168
4
Makefile
4
Makefile
@ -1,10 +1,10 @@
|
|||||||
.PHONY: build tests clean dev-init dev-reinit
|
.PHONY: build test clean dev-init dev-reinit
|
||||||
|
|
||||||
build: clean
|
build: clean
|
||||||
@echo "======================== Building Binary ======================="
|
@echo "======================== Building Binary ======================="
|
||||||
CGO_ENABLED=0 go build -ldflags="-s -w" -v -o dist/ .
|
CGO_ENABLED=0 go build -ldflags="-s -w" -v -o dist/ .
|
||||||
|
|
||||||
tests: dev-reinit
|
test: dev-reinit
|
||||||
@echo "======================== Running Tests ========================="
|
@echo "======================== Running Tests ========================="
|
||||||
go test -v -cover -coverpkg=./app/ -coverprofile coverage ./test/
|
go test -v -cover -coverpkg=./app/ -coverprofile coverage ./test/
|
||||||
@echo "======================= Coverage Report ========================"
|
@echo "======================= Coverage Report ========================"
|
||||||
|
Loading…
Reference in New Issue
Block a user