Add target to check for missing mli files

Summary:
Add a target to the src Makefile to report modules without interface
files.

Reviewed By: sblackshear

Differential Revision: D3273454

fbshipit-source-id: 4a9a697
master
Josh Berdine 9 years ago committed by Facebook Github Bot 2
parent 4fd2f52fe8
commit 9e84da4aee

@ -146,6 +146,11 @@ endif
--only-show > /dev/null --only-show > /dev/null
@rm -fr __test-infer-out__ @rm -fr __test-infer-out__
check_missing_mli:
@bash -c '\
for x in `find infer/src -name "*.ml"`; do \
test -f "$$x"i || echo Missing "$$x"i; done'
test: test:
$(MAKE) -C $(INFER_DIR) $(INFER_BIN_RELPATH) $(MAKE) -C $(INFER_DIR) $(INFER_BIN_RELPATH)
$(MAKE) -C $(SRC_DIR) init $(MAKE) -C $(SRC_DIR) init
@ -285,5 +290,5 @@ conf-clean: clean
.PHONY: all buck_test buck_test_xml clean clang .PHONY: all buck_test buck_test_xml clean clang
.PHONY: clang_plugin clang_setup inferTraceBugs inferTraceBugs_test java .PHONY: clang_plugin clang_setup inferTraceBugs inferTraceBugs_test java
.PHONY: ocaml_unit_test test test_xml test_build unit .PHONY: ocaml_unit_test check_missing_mli test test_xml test_build unit
.PHONY: install uninstall .PHONY: install uninstall

Loading…
Cancel
Save