Skip to content

Commit

Permalink
Fixed phony tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Aug 7, 2022
1 parent c67be17 commit 4946ceb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,20 @@ ifeq ($(REPO_OWNER),)
REPO_OWNER="mrz1836"
endif

.PHONY: clean

.PHONY: all
all: ## Runs multiple commands
@$(MAKE) test

.PHONY: clean
clean: ## Remove previous builds and any test cache data
@go clean -cache -testcache -i -r
@test $(DISTRIBUTIONS_DIR)
@if [ -d $(DISTRIBUTIONS_DIR) ]; then rm -r $(DISTRIBUTIONS_DIR); fi

.PHONY: release
release:: ## Runs common.release then runs godocs
@$(MAKE) godocs

.PHONY: run-examples
run-examples: ## Runs all the examples
@go run examples/examples.go

0 comments on commit 4946ceb

Please sign in to comment.