From 5558c37a1a2626beaee5bb69c83d4013f2bcaf44 Mon Sep 17 00:00:00 2001 From: Tushar Pankaj Date: Tue, 6 Nov 2018 20:51:49 -0600 Subject: Exclude capnproto from clang-format Signed-off-by: Tushar Pankaj --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b1e2662..8fd0bbe 100644 --- a/Makefile +++ b/Makefile @@ -22,4 +22,6 @@ wg-dynamic-server.o: wg-dynamic-server.c clean: rm -f ${PROGS} *.o *~ style: - clang-format -i --style=file *.c *.h + find . -type f \( -name "*.c" -or -name "*.h" \) -and \ + -not \( -name "*.capnp.c" -or -name "*.capnp.h" \) | \ + xargs clang-format -i --style=file -- cgit v1.2.3-59-g8ed1b