mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Update Erlang.mk
This commit is contained in:
parent
c37852fa2b
commit
837cf8b9ce
5 changed files with 574 additions and 4028 deletions
8
Makefile
8
Makefile
|
@ -14,7 +14,7 @@ CI_OTP = OTP-18.0.3 OTP-18.1
|
|||
|
||||
# Dependencies.
|
||||
|
||||
OTP_DEPS = crypto
|
||||
LOCAL_DEPS = crypto
|
||||
|
||||
DEPS = cowlib ranch
|
||||
dep_cowlib = git https://github.com/ninenines/cowlib master
|
||||
|
@ -28,9 +28,15 @@ dep_gun = git https://github.com/ninenines/gun master
|
|||
|
||||
include erlang.mk
|
||||
|
||||
# Compile options.
|
||||
|
||||
ERLC_OPTS += +warn_export_all +warn_missing_spec +warn_untyped_record
|
||||
TEST_ERLC_OPTS += +'{parse_transform, eunit_autoexport}'
|
||||
|
||||
# Generate rebar.config on build.
|
||||
|
||||
app:: rebar.config
|
||||
|
||||
# Also dialyze the tests.
|
||||
|
||||
# DIALYZER_OPTS += --src -r test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue