aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-11-16 23:08:24 +0100
committerLoïc Hoguin <[email protected]>2015-11-16 23:08:38 +0100
commit837cf8b9cef86d085d7c2f7282ca11460c9bdeb5 (patch)
treea181fce0e8d95feeafe0c5a59092a464bb6cbf7a /Makefile
parentc37852fa2bdb03de1528320436b82b7a972f7f14 (diff)
downloadcowboy-837cf8b9cef86d085d7c2f7282ca11460c9bdeb5.tar.gz
cowboy-837cf8b9cef86d085d7c2f7282ca11460c9bdeb5.tar.bz2
cowboy-837cf8b9cef86d085d7c2f7282ca11460c9bdeb5.zip
Update Erlang.mk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c9ec4c4..7552a03 100644
--- a/Makefile
+++ b/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