You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
348 B

  1. REBAR?=rebar3
  2. all: build
  3. clean:
  4. $(REBAR) clean
  5. rm -rf logs
  6. rm -rf .eunit
  7. rm -f test/*.beam
  8. distclean: clean
  9. git clean -fxd
  10. build:
  11. $(REBAR) compile
  12. eunit:
  13. $(REBAR) eunit skip_deps=true
  14. check: build eunit
  15. release:
  16. rebar3 hex publish
  17. %.beam: %.erl
  18. erlc -o test/ $<
  19. .PHONY: all clean distclean depends build etap eunit check