1.PHONY: test compile clean dialyzer bootstrap escript 2 3all: compile escript 4 5compile: 6 @./rebar compile 7 8test: 9 @./rebar eunit 10 11clean: 12 @./rebar clean 13 14neotoma.plt: 15 @dialyzer --build_plt --apps erts kernel stdlib compiler crypto hipe \ 16 syntax_tools --output_plt neotoma.plt 17 18dialyzer: compile neotoma.plt 19 @dialyzer --plt neotoma.plt ebin 20 21xref: compile 22 @./rebar xref skip_deps=true 23 24bootstrap: compile 25 @erl -pz ebin -b start_sasl -noshell -s init stop -s neotoma bootstrap 26 @./rebar compile 27 28escript: 29 @./rebar escriptize 30