-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
45 lines (35 loc) · 825 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
ERL?=erl
PYTHON=/usr/local/Cellar/python/2.7.3/bin/python
.PHONY: deps
all: deps
@./rebar compile
app:
@./rebar compile skip_deps=true
deps:
@./rebar get-deps
clean:
@./rebar clean
distclean: clean
@./rebar delete-deps
webstart: app
exec erl \
-pa $(PWD)/apps/app/ebin \
-pa $(PWD)/apps/shared/ebin \
-pa $(PWD)/apps/frontend/ebin \
-pa $(PWD)/deps/*/ebin \
-boot start_sasl \
-config $(PWD)/apps/frontend/priv/app.config \
-s reloader -s frontend
corestart: app
exec erl \
-pa $(PWD)/apps/app/ebin \
-pa $(PWD)/apps/shared/ebin \
-pa $(PWD)/apps/core/ebin \
-pa $(PWD)/deps/*/ebin \
-boot start_sasl \
-config $(PWD)/apps/core/priv/app.config \
-s reloader -s core
proxystart:
@haproxy -f dev.haproxy.conf
api-tests:
$(shell $(PYTHON) -m unittest discover test '*_tests.py' -v)