Source

riak / apps / erlang_js / Makefile

all:
	./rebar compile

clean:
	rm -rf tests_ebin
	./rebar clean
	cd c_src;make jsclean

realclean: clean
	cd c_src;make dist

test: all
	@mkdir -p tests_ebin
	@cd tests;erl -make
	@erl -noshell -boot start_sasl -pa ebin -pa tests_ebin -s erlang_js -eval 'test_suite:test().' -s init stop
	@rm -f ebin/test_* ebin/*_tests.erl