diff --git a/Makefile b/Makefile index 7c3a9a7..0453ef2 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ clean: @rm -rf build -FMT_PATHS = ./*.go ./examples/**/*.go +FMT_PATHS = ./ fmt-check: @unformatted=$$(gofmt -l $(FMT_PATHS)); [ -z "$$unformatted" ] && exit 0; echo "Unformatted:"; for fn in $$unformatted; do echo " $$fn"; done; exit 1