Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (33 sloc) 798 Bytes
RUN := +Bc +K true -smp enable -pa ebin -s crypto -s inets -s ssl
all:
rebar get-deps && rebar compile
clean:
rebar clean
build_plt: all
rebar skip_deps=true build-plt
analyze: all
rebar dialyze
update-deps:
rebar update-deps
doc: all
rebar skip_deps=true doc
xref: all
rebar skip_deps=true xref
run: all
if [ -f `hostname`.config ]; then\
erl -config `hostname` -boot start_sasl ${RUN} -s apns;\
else\
erl -boot start_sasl ${RUN} -s apns;\
fi
shell: all
if [ -f `hostname`.config ]; then\
erl -config `hostname` -boot start_sasl ${RUN};\
else\
erl -boot start_sasl ${RUN};\
fi
test: all
if [ -f `hostname`.config ]; then\
erl -noshell -noinput -config `hostname` ${RUN} -run apns_tests main;\
else\
erl -noshell -noinput ${RUN} -run apns_tests main;\
fi