| 1 | all: deps compile check test |
| 2 | |
| 3 | deps: |
| 4 | rebar get-deps |
| 5 | |
| 6 | compile: |
| 7 | rebar compile |
| 8 | |
| 9 | run: compile |
| 10 | sh start.sh |
| 11 | |
| 12 | clean: |
| 13 | rebar clean |
| 14 | rm -fr ebin .ct test/*.beam |
| 15 | |
| 16 | check: |
| 17 | rebar eunit skip_deps=true |
| 18 | |
| 19 | test: deps compile check |
| 20 | ##rebar ct |
| 21 | #mkdir -p .ct |
| 22 | #ct_run -dir test -logdir .ct -pa ebin |
| 23 | |
| 24 | dist: deps compile |
| 25 | echo TODO |
| 26 | |
| 27 | .PHONY: all deps compile check test run clean dist |
| 28 | .SILENT: |
| 29 |