Skip to content

Commit

Permalink
Fixed phony tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Feb 8, 2023
1 parent 69c3ce6 commit dce716f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,34 @@ 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
@$(MAKE) clean-mods
@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

0 comments on commit dce716f

Please sign in to comment.