Add checkdb target to top level Makefile.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2018-12-19 17:07:59 -08:00
parent 4769f0b09b
commit 91a1f8ba50
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,14 @@ format:
$(IN_ENV) find . -name \*.py $(FIND_EXCLUDE) -print0 | xargs -0 -P $$(nproc) yapf -p -i
find . -name \*.tcl $(FIND_EXCLUDE) -print0 | xargs -0 -P $$(nproc) -n 1 $(TCL_FORMAT)
checkdb:
@for DB in database/*; do if [ -d $$DB ]; then \
echo ; \
echo "Checking $$DB"; \
echo "============================"; \
$(IN_ENV) python utils/checkdb.py --db-root $$DB; \
fi; done
clean:
$(MAKE) -C database clean
$(MAKE) -C fuzzers clean