Skip to content

Commit

Permalink
Added phony tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 27, 2022
1 parent 928bc5e commit a7a7eba
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 a7a7eba

Please sign in to comment.