[build] Add `make check` target to build artifacts for tooling/merlin

Summary:
Quoting the doc:
> `dune check` builds the minimal set of targets required for tooling
support. Essentially, this is .cmi, .cmt, .cmti, and .merlin files.

So, running `make check` can be a tad faster and more economical
way to typecheck the code as you develop (and make merlin understand
what's going on).

We already had `check` taget defined in `infer/src/Makefile` but it
was not exposed at the top level. Fixing it.

Reviewed By: jberdine

Differential Revision: D19619920

fbshipit-source-id: c143cecd8
master
Artem Pianykh 5 years ago committed by Facebook Github Bot
parent 21cff2d659
commit 5dc24e0e0c

@ -250,6 +250,11 @@ byte: src_build_common
$(QUIET)$(call silent_on_success,Building byte Infer,\
$(MAKE_SOURCE) byte)
.PHONY: check
check: src_build_common
$(QUIET)$(call silent_on_success,Building artifacts for tooling support,\
$(MAKE_SOURCE) check)
.PHONY: test_build
test_build: src_build_common
$(QUIET)$(call silent_on_success,Testing Infer builds without warnings,\

Loading…
Cancel
Save