blob: 72774994bb0dad857a0a74c76f1b333fd8c3427a [file] [log] [blame]
REBAR ?= $(shell which rebar3)
IBROWSE_EBIN_PATH=../_build/default/lib/ibrowse/ebin
compile:
@erl -pa $(IBROWSE_EBIN_PATH) -make
test: compile
@erl -noshell -boot start_clean -pa $(IBROWSE_EBIN_PATH) -s ibrowse_test local_unit_tests -s erlang halt
old_tests: compile
@erl -noshell -boot start_clean -pa $(IBROWSE_EBIN_PATH) -s ibrowse_test unit_tests -s erlang halt
test_shell: compile
erl -boot start_clean -pa $(IBROWSE_EBIN_PATH) -s ibrowse_test_server start_server
clean:
@rm -f *.beam