mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
check-whitespace: add to check-source.
We don't check submodules (daemon/jsmn), or imported files (ccan/ secp256k1/) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
f5c00deec7
commit
0d7f6ce25b
5
Makefile
5
Makefile
@ -225,7 +225,10 @@ check-bolt: check-bolt.o $(CCAN_OBJS)
|
||||
|
||||
check-bolt.o: $(CCAN_HEADERS)
|
||||
|
||||
check-source: check-makefile check-source-bolt \
|
||||
check-whitespace:
|
||||
if grep -n '[ ]$$' Makefile daemon/test/Makefile daemon/Makefile bitcoin/Makefile check-bolt.c $(CORE_SRC) $(BITCOIN_SRC) $(DAEMON_SRC); then echo Extraneous whitespace found >&2; exit 1; fi
|
||||
|
||||
check-source: check-makefile check-source-bolt check-whitespace \
|
||||
$(CORE_SRC:%=check-src-include-order/%) \
|
||||
$(BITCOIN_SRC:%=check-src-include-order/%) \
|
||||
$(CORE_HEADERS:%=check-hdr-include-order/%) \
|
||||
|
Loading…
Reference in New Issue
Block a user