-
Notifications
You must be signed in to change notification settings - Fork 57
/
Makefile
31 lines (22 loc) · 1.13 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
PROJECT = cowboy_swagger
CONFIG ?= test/test.config
DEPS = jiffy trails
SHELL_DEPS = sync
TEST_DEPS = katana_test mixer shotgun
BUILD_DEPS = inaka_mk hexer_mk
dep_jiffy = hex 0.14.7
dep_trails = git https://github.com/inaka/cowboy-trails.git bc92848
dep_sync = git https://github.com/rustyio/sync.git 11df81d
dep_mixer = git https://github.com/inaka/mixer.git 0.1.5
dep_shotgun = hex 0.2.3
dep_katana_test = git https://github.com/inaka/katana-test.git 0.0.3
dep_inaka_mk = git https://github.com/inaka/inaka.mk.git 1.0.0
dep_hexer_mk = git https://github.com/inaka/hexer.mk.git 1.1.0
DEP_PLUGINS = inaka_mk hexer_mk
include erlang.mk
ERLC_OPTS := +warn_unused_vars +warn_export_all +warn_shadow_vars +warn_unused_import +warn_unused_function
ERLC_OPTS += +warn_bif_clash +warn_unused_record +warn_deprecated_function +warn_obsolete_guard +strict_validation
ERLC_OPTS += +warn_export_vars +warn_exported_vars +warn_missing_spec +warn_untyped_record +debug_info
TEST_ERLC_OPTS += +debug_info
SHELL_OPTS = -s sync -config ${CONFIG}
CT_OPTS = -cover test/cover.spec -erl_args -config ${CONFIG}