From f38e6e5833a251602468567b32a123f862569db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 7 May 2015 22:27:09 +0300 Subject: Add a check target Compiles, runs tests and runs all sorts of analysis like Dialyzer. --- core/core.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/core.mk b/core/core.mk index 0de45fd..5cb0b54 100644 --- a/core/core.mk +++ b/core/core.mk @@ -12,7 +12,7 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.PHONY: all deps app rel docs install-docs tests clean distclean help erlang-mk +.PHONY: all deps app rel docs install-docs tests check clean distclean help erlang-mk ERLANG_MK_VERSION = 1 @@ -46,6 +46,8 @@ all:: deps rel:: @echo -n +check:: clean app tests + clean:: clean-crashdump clean-crashdump: @@ -70,6 +72,7 @@ help:: " docs Build the documentation for this project" \ " install-docs Install the man pages for this project" \ " tests Run the tests for this project" \ + " check Compile and run all tests and analysis for this project" \ " clean Delete temporary and output files from most targets" \ " distclean Delete all temporary and output files" \ " help Display this help and exit" \ -- cgit v1.2.3