Skip to content

Commit

Permalink
adding a helpful stats command in the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
deckarep committed Jan 13, 2024
1 parent 9e94ee3 commit 209fe0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: test build lint gen all clean update docker run format
.PHONY: test build lint gen all clean update docker run format stats

PKG=github.com/deckarep/tips
VERSION := `git fetch --tags && git tag | sort -V | tail -1`
Expand All @@ -12,6 +12,9 @@ default: all
# Capture additional arguments which can optionally be passed in.
ARGS ?=

stats:
git diff --stat HEAD~$(ARGS) HEAD

update:
go get -u
go mod tidy
Expand Down

0 comments on commit 209fe0f

Please sign in to comment.