Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (40 sloc) 0.963 kb
.PHONY: all test console compile
all: test
test_clean: get-deps
rm -rf tests/*.beam
make test
cover_test_clean: get-deps
rm -rf tests/*.beam
make cover_test
test: prepare
erl -noinput -sname test -setcookie ejabberd \
-pa `pwd`/tests \
`pwd`/deps/*/ebin \
-s run_common_test ct
cover_test: prepare
erl -noinput -sname test -setcookie ejabberd \
-pa `pwd`/tests \
`pwd`/deps/*/ebin \
-s run_common_test ct_cover; \
cover_summary: prepare
erl -noinput -sname test -setcookie ejabberd \
-pa `pwd`/tests \
`pwd`/deps/*/ebin \
-s run_common_test cover_summary; \
prepare: compile
erlc -Ideps/exml/include \
run_common_test.erl
mkdir -p ct_report
console: compile
erl -sname test -setcookie ejabberd \
-pa `pwd`/tests \
`pwd`/deps/*/ebin \
compile: get-deps
./rebar compile
get-deps: rebar
./rebar get-deps
clean: rebar
./rebar clean
rebar:
wget http://cloud.github.com/downloads/basho/rebar/rebar
chmod u+x rebar
Jump to Line
Something went wrong with that request. Please try again.