Skip to content

Commit

Permalink
Cleanup for phony
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Jul 7, 2022
1 parent c6e390e commit 332ad81
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 332ad81

Please sign in to comment.