rename make testsd target to test

This commit is contained in:
Arthur Lu 2024-10-24 18:08:43 +00:00
parent e18737c043
commit bf80945168

View File

@ -1,10 +1,10 @@
.PHONY: build tests clean dev-init dev-reinit
.PHONY: build test clean dev-init dev-reinit
build: clean
@echo "======================== Building Binary ======================="
CGO_ENABLED=0 go build -ldflags="-s -w" -v -o dist/ .
tests: dev-reinit
test: dev-reinit
@echo "======================== Running Tests ========================="
go test -v -cover -coverpkg=./app/ -coverprofile coverage ./test/
@echo "======================= Coverage Report ========================"