Makefile 379 B

1234567891011121314151617181920212223
  1. REBAR = rebar
  2. all: compile
  3. compile:
  4. @$(REBAR) compile
  5. clean:
  6. @$(REBAR) clean
  7. create_testdbs:
  8. psql template1 < ./test_data/test_schema.sql
  9. test:
  10. @$(REBAR) eunit
  11. dialyzer: build.plt compile
  12. dialyzer --plt $< ebin
  13. build.plt:
  14. dialyzer -q --build_plt --apps erts kernel stdlib ssl --output_plt $@
  15. .PHONY: all compile release clean create_testdbs test dialyzer build.plt