mirror of
https://github.com/valitydev/snowflake.git
synced 2024-11-06 17:15:20 +00:00
25 lines
293 B
Makefile
25 lines
293 B
Makefile
REBAR = ./rebar
|
|
ERL ?= erl
|
|
APP := snowflake
|
|
|
|
.PHONY: deps
|
|
|
|
all: deps
|
|
@$(REBAR) compile
|
|
|
|
deps:
|
|
@$(REBAR) get-deps
|
|
|
|
clean:
|
|
@$(REBAR) clean
|
|
|
|
distclean: clean
|
|
@$(REBAR) delete-deps
|
|
|
|
docs:
|
|
@erl -noshell -run edoc_run application '$(APP)' '"."' '[]'
|
|
|
|
test: all
|
|
@$(REBAR) skip_deps=true eunit
|
|
|