diff options
author | Tushar Pankaj <tushar.s.pankaj@gmail.com> | 2018-11-06 20:51:49 -0600 |
---|---|---|
committer | Tushar Pankaj <tushar.s.pankaj@gmail.com> | 2018-11-06 20:51:49 -0600 |
commit | 5558c37a1a2626beaee5bb69c83d4013f2bcaf44 (patch) | |
tree | bebf701261c2cbd922a57a10f2d4096f67e224f5 | |
parent | Make better var names (diff) | |
download | wg-dynamic-5558c37a1a2626beaee5bb69c83d4013f2bcaf44.tar.xz wg-dynamic-5558c37a1a2626beaee5bb69c83d4013f2bcaf44.zip |
Exclude capnproto from clang-format
Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |