From b35496dd1b96cb43be3ddb973ca73f4de4f15118 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Tue, 7 Sep 2021 18:16:41 +0200 Subject: [PATCH] make: correct fmt-check to look in all subdirectories Signed-off-by: deadprogram --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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