您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

37 行
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