From 7917d22dafb8c78aa48cdb3a69d34cfbaf332b2f Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 11 Mar 2020 10:17:45 +0100 Subject: [PATCH] Makefile: don't format proto There are different versions of clang-format being installed on different versions of ubuntu that apparently produce different results when formatting the proto files. This is likely too much of a hurdle for new contributors to also manually install the correct version of a command line tool just to format stuff. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6d50d6e0..d0495793 100644 --- a/Makefile +++ b/Makefile @@ -178,7 +178,7 @@ rpc-format: @$(call print, "Formatting protos.") cd ./lnrpc; find . -name "*.proto" | xargs clang-format --style=file -i -rpc-check: rpc-format rpc +rpc-check: rpc @$(call print, "Verifying protos.") if test -n "$$(git describe --dirty | grep dirty)"; then echo "Protos not properly formatted or not compiled with v3.4.0"; git status; git diff; exit 1; fi