From bd3ae9694c0e8669c8ce53aef685e8afede14f33 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sun, 13 Dec 2015 17:47:14 +0100 Subject: Initial commit --- Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a329f76 --- /dev/null +++ b/Makefile @@ -0,0 +1,34 @@ +ERL ?= erl +APP := coaperl + +.PHONY: deps + +all: deps + @./rebar compile + +deps: + @./rebar get-deps + +clean: + @./rebar clean + +distclean: clean + @./rebar delete-deps + +docs: + @erl -noshell -run edoc_run application '$(APP)' '"."' '[]' + +test: all + @(./rebar skip_deps=true eunit) + +tags: + find . -name "*.[he]rl" -print | etags - + +DEPSOLVER_PLT=$(CURDIR)/.depsolver_plt +$(DEPSOLVER_PLT): + dialyzer --output_plt $(DEPSOLVER_PLT) --build_plt \ + --apps erts kernel stdlib crypto public_key # -r deps + +dialyzer: $(DEPSOLVER_PLT) + dialyzer --plt $(DEPSOLVER_PLT) -Wrace_conditions --src src + -- cgit v1.2.3