From dfe42d8d2358e1437b1b086bbc420f3ffef9b46e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 27 Mar 2025 19:40:50 -0500 Subject: better automated reformat tests --- Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9093572..b15cd9a 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ help: build test: reset make goimports vet build + git checkout example/fruit.proto make -C example testGlobal make -C example testProtoc make -C example all @@ -92,12 +93,19 @@ clean-more: ls -l autogenpb autogenpb.last -rm -f autogenpb.2* -reformat-signal.proto-comments: +reformat-signal.proto-reset: + git checkout example/*.proto + +reformat-signal.proto-comments: goimports vet build git checkout example/fruit.proto make -C example proto-reformat-restore make -C example proto-reformat-comments -reformat-signal.proto-full: - git checkout example/fruit.proto +reformat-signal.proto-full: goimports vet build + git checkout example/*.proto make -C example proto-reformat-restore make -C example proto-reformat-full + +reformat-signal.proto-fruit: goimports vet build + git checkout example/*.proto + make -C example proto-reformat-fruit -- cgit v1.2.3