From dce716f420e927b7f5dfb96f78f070b4a5448131 Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Wed, 8 Feb 2023 13:10:24 -0500 Subject: [PATCH] Fixed phony tags --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3a59fdc1..17521f33 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,12 @@ ifeq ($(REPO_OWNER),) REPO_OWNER="BuxOrg" endif -.PHONY: clean install-all-contributors update-contributors +.PHONY: all all: ## Runs multiple commands @$(MAKE) test-coverage-custom +.PHONY: clean clean: ## Remove previous builds and any cached data @echo "cleaning local cache..." @go clean -cache -testcache -i -r @@ -26,17 +27,21 @@ clean: ## Remove previous builds and any cached data @test $(DISTRIBUTIONS_DIR) @if [ -d $(DISTRIBUTIONS_DIR) ]; then rm -r $(DISTRIBUTIONS_DIR); fi +.PHONY: install-all-contributors install-all-contributors: ## Installs all contributors locally @echo "installing all-contributors cli tool..." @yarn global add all-contributors-cli +.PHONY: release release:: ## Runs common.release then runs godocs @$(MAKE) godocs +.PHONY: test-coverage-custom test-coverage-custom: ## Custom package test coverage @echo "running coverage..." @go test -coverpkg=./... -covermode=atomic -coverprofile=coverage.out ./... +.PHONY: update-contributors update-contributors: ## Regenerates the contributors html/list @echo "generating contributor html..." @all-contributors generate