mirror of https://github.com/openXC7/prjxray.git
Merge pull request #368 from mithro/master
Add checkdb target to top level Makefile.
This commit is contained in:
commit
badeb0e41a
8
Makefile
8
Makefile
|
|
@ -27,6 +27,14 @@ format:
|
||||||
$(IN_ENV) find . -name \*.py $(FIND_EXCLUDE) -print0 | xargs -0 -P $$(nproc) yapf -p -i
|
$(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)
|
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:
|
clean:
|
||||||
$(MAKE) -C database clean
|
$(MAKE) -C database clean
|
||||||
$(MAKE) -C fuzzers clean
|
$(MAKE) -C fuzzers clean
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue