From b5f741391ba249bd08bfdfd077af79fc92731408 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Mon, 28 Aug 2017 15:01:50 +0800 Subject: [PATCH] Add 'make autopatch' to fix the building error of travis CI --- .travis.yml | 6 ++---- Makefile | 5 ++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f9502f766..cee696a6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,10 @@ language: erlang otp_release: - - 19.0 - - 19.1 - - 19.2 + - 20.0 before_script: - - make deps + - make autopatch script: - make diff --git a/Makefile b/Makefile index 3ea8fff3d..a0e321df9 100644 --- a/Makefile +++ b/Makefile @@ -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_bcrypt = git https://github.com/smarkets/erlang-bcrypt master 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 += +'{parse_transform, lager_transform}' @@ -49,6 +49,9 @@ DIALYZER_OPTS := --verbose --statistics -Werror_handling \ include erlang.mk +autopatch:: + $(call dep_autopatch,goldrush) + app:: rebar.config app.config::