Skip to content

Commit

Permalink
Refine diff make target to detect untracked files
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Jun 10, 2020
1 parent e917f07 commit c2c3e71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ release: ## goreleaser --snapshot --skip-publish --rm-dist
diff: ## git diff
$(call print-target)
git diff --exit-code
test -z "`git status --porcelain | tee /dev/tty`"

.PHONY: docker
docker: ## run in golang container, example: make docker run="make all"
Expand Down

0 comments on commit c2c3e71

Please sign in to comment.