Add 'make autopatch' to fix the building error of travis CI

This commit is contained in:
Feng Lee 2017-08-28 15:01:50 +08:00
parent 1f50229dff
commit b5f741391b
2 changed files with 6 additions and 5 deletions

View File

@ -1,12 +1,10 @@
language: erlang language: erlang
otp_release: otp_release:
- 19.0 - 20.0
- 19.1
- 19.2
before_script: before_script:
- make deps - make autopatch
script: script:
- make - make

View File

@ -15,7 +15,7 @@ dep_pbkdf2 = git https://github.com/emqtt/pbkdf2 2.0.1
dep_lager_syslog = git https://github.com/basho/lager_syslog dep_lager_syslog = git https://github.com/basho/lager_syslog
dep_bcrypt = git https://github.com/smarkets/erlang-bcrypt master dep_bcrypt = git https://github.com/smarkets/erlang-bcrypt master
dep_clique = git https://github.com/emqtt/clique dep_clique = git https://github.com/emqtt/clique
dep_jsx = git https://github.com/talentdeficit/jsx dep_jsx = git https://github.com/talentdeficit/jsx
ERLC_OPTS += +debug_info ERLC_OPTS += +debug_info
ERLC_OPTS += +'{parse_transform, lager_transform}' ERLC_OPTS += +'{parse_transform, lager_transform}'
@ -49,6 +49,9 @@ DIALYZER_OPTS := --verbose --statistics -Werror_handling \
include erlang.mk include erlang.mk
autopatch::
$(call dep_autopatch,goldrush)
app:: rebar.config app:: rebar.config
app.config:: app.config::