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
359 B

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