diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -4,15 +4,15 @@ PROJECT = cowboy # Options. -ERLC_OPTS ?= -Werror +debug_info +warn_export_all +warn_export_vars \ - +warn_shadow_vars +warn_obsolete_guard +warn_missing_spec COMPILE_FIRST = cowboy_middleware cowboy_sub_protocol -CT_OPTS += -pa test -ct_hooks cowboy_ct_hook [] +CT_OPTS += -pa test -ct_hooks cowboy_ct_hook [] # -boot start_sasl PLT_APPS = crypto public_key ssl # Dependencies. DEPS = cowlib ranch +dep_cowlib = git https://github.com/ninenines/cowlib 1.3.0 + TEST_DEPS = ct_helper gun dep_ct_helper = git https://github.com/extend/ct_helper.git master @@ -20,6 +20,9 @@ dep_ct_helper = git https://github.com/extend/ct_helper.git master include erlang.mk +ERLC_OPTS += +warn_export_all +warn_missing_spec +warn_untyped_record +TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}' + # Also dialyze the tests. # DIALYZER_OPTS += --src -r test |