From 0d4ad9bcc4d61f623414de1bfff2ab1a27ba835d Mon Sep 17 00:00:00 2001 From: Andreas Pauley Date: Sat, 23 Nov 2013 17:58:54 +0200 Subject: [PATCH] Run dialyzer by default just after a compile --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index afa47df..ad21840 100644 --- a/Makefile +++ b/Makefile @@ -3,13 +3,15 @@ IBROWSE_VSN = $(shell sed -n 's/.*{vsn,.*"\(.*\)"}.*/\1/p' src/ibrowse.app.src) DIALYZER_PLT=$(CURDIR)/.dialyzer_plt DIALYZER_APPS=erts kernel stdlib ssl crypto public_key asn1 compiler hipe edoc gs syntax_tools inets xmerl runtime_tools mnesia -all: +all: compile dialyzer + +compile: ./rebar compile clean: ./rebar clean -install: all +install: compile mkdir -p $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/ cp -r ebin $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/