Skip to content

Commit

Permalink
ci: log changed files
Browse files Browse the repository at this point in the history
log changed files

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 committed Oct 29, 2024
1 parent c412e88 commit b50ff90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
all:

check-changes:
output=`git status -z *.go | tr '\0' '\n'`; if test -z "$$output"; then echo "all good"; else echo "files got changed" ; exit 1; fi
git diff
output=`git status -z *.go | tr '\0' '\n'`; if test -z "$$output"; then echo "all good"; else echo "files got changed\n $$output" ; exit 1; fi

clean-deps:
rm -rf bin dist github.com google
Expand Down

0 comments on commit b50ff90

Please sign in to comment.