Files
junk2jive-server/Makefile
rogueking 5ed38bc6e8
Some checks failed
golangci-lint / lint (push) Failing after 45s
Build and Push Docker Image / Build and push image (push) Failing after 35s
Run Go Tests / build (push) Failing after 0s
port is now being served
2025-05-06 15:29:24 -07:00

15 lines
313 B
Makefile

port ?= 8080
junk2jive:
@go build ./cmd/junk2jive
run:
@go run ./cmd/junk2jive -p $(port)
test:
@go test ./... -v
test_coverage:
# @go test -cover ./...
@go test -coverprofile=coverage.out ./...
@go tool cover -func=coverage.out | grep total: | awk '{print "Total coverage: " $$3}'
clean:
@rm ./junk2jive