Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #34 from andrewhsu/check-clean
Browse files Browse the repository at this point in the history
check if build dir exists before chown
  • Loading branch information
andrewhsu authored Jul 14, 2017
2 parents f373edf + 46dd23f commit 6829cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ help: ## show make targets
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

clean: ## remove build artifacts
$(CHOWN) -R $(shell id -u):$(shell id -g) build
[ ! -d build ] || $(CHOWN) -R $(shell id -u):$(shell id -g) build
$(RM) -r build

static: static-linux cross-mac cross-win cross-arm ## create all static packages
Expand Down

0 comments on commit 6829cb8

Please sign in to comment.