summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-27 19:40:50 -0500
committerJeff Carr <[email protected]>2025-03-27 19:40:50 -0500
commitdfe42d8d2358e1437b1b086bbc420f3ffef9b46e (patch)
treecb1a7f4511c40db359b389a21e1d0554afca2d56 /Makefile
parent40fbd387126d6d5be4db0a8bd9d644e3b0b518e9 (diff)
better automated reformat tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
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