Add format-check and buckifier check to make check
This commit is contained in:
parent
4f017d8944
commit
f0e3ed6e88
7
Makefile
7
Makefile
@ -967,6 +967,8 @@ ifeq ($(filter -DROCKSDB_LITE,$(OPT)),)
|
|||||||
sh tools/rocksdb_dump_test.sh
|
sh tools/rocksdb_dump_test.sh
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
$(MAKE) check-format
|
||||||
|
$(MAKE) check-buck-targets
|
||||||
|
|
||||||
# TODO add ldb_tests
|
# TODO add ldb_tests
|
||||||
check_some: $(SUBSET)
|
check_some: $(SUBSET)
|
||||||
@ -1187,6 +1189,9 @@ tags0:
|
|||||||
format:
|
format:
|
||||||
build_tools/format-diff.sh
|
build_tools/format-diff.sh
|
||||||
|
|
||||||
|
check-format:
|
||||||
|
build_tools/format-diff.sh -c
|
||||||
|
|
||||||
buck-targets:
|
buck-targets:
|
||||||
python buckifier/buckify_rocksdb.py
|
python buckifier/buckify_rocksdb.py
|
||||||
|
|
||||||
@ -1197,6 +1202,8 @@ check-buck-targets: buck-targets
|
|||||||
@if [ -z "$(TMP)" ]; then \
|
@if [ -z "$(TMP)" ]; then \
|
||||||
exit 0; \
|
exit 0; \
|
||||||
else \
|
else \
|
||||||
|
echo You need to run make buck-targets to update the TARGETS file
|
||||||
|
echo Do not modify TARGETS file manually.
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user