-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (29 loc) · 1.31 KB
/
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
PROJECT = conferl
DEPS = lager cowboy sync sumo_db mixer jiffy xref_runner uuid
TEST_DEPS = shotgun
dep_lager = git https://github.com/basho/lager.git 2.1.0
dep_sync = git https://github.com/inaka/sync.git 0.1.3
dep_sumo_db = git https://github.com/inaka/sumo_db.git 0.3.7
dep_cowboy = git git://github.com/ninenines/cowboy.git 1.0.1
dep_mixer = git git://github.com/inaka/mixer.git 0.1.3
dep_jiffy = git git://github.com/davisp/jiffy.git 0.11.3
dep_shotgun = git git://github.com/inaka/shotgun.git 0.1.10
dep_xref_runner = git git://github.com/inaka/xref_runner.git 0.2.2
dep_uuid = git git://github.com/okeuday/uuid.git v1.5.0
PLT_APPS := inets
DIALYZER_DIRS := ebin/
DIALYZER_OPTS := --verbose --statistics -Wrace_conditions
include erlang.mk
ERLC_OPTS += +'{parse_transform, lager_transform}'
TEST_ERLC_OPTS += +'{parse_transform, lager_transform}'
CT_OPTS = -erl_args -config rel/sys.config
SHELL_OPTS = -name ${PROJECT}@`hostname` -s sync -s ${PROJECT} -config rel/sys.config
testshell:
erl -pa ebin -pa deps/*/ebin -pa test -config rel/sys.config -s sync
quicktests: app build-ct-suites
@if [ -d "test" ] ; \
then \
mkdir -p logs/ ; \
$(CT_RUN) -suite $(addsuffix _SUITE,$(CT_SUITES)) $(CT_OPTS) ; \
fi
$(gen_verbose) rm -f test/*.beam