Skip to content

Commit

Permalink
Fix compilation on Erlang 19 by adding lager 3.2.1
Browse files Browse the repository at this point in the history
The old exometer dependency had a lager dependency which did not compile on Erlang 19.
  • Loading branch information
TBK145 committed Jul 1, 2016
1 parent a131c75 commit 797ae2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ otp_release:
- 18.0
- 18.1
- 18.2
- 19.0
script: "rebar get-deps compile && rebar skip_deps=true eunit"
2 changes: 2 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{deps, [
{hackney, ".*", {git, "git://github.com/benoitc/hackney.git", {branch, "master"}}},
%% lager dependency to override exometer's lager dependency, which does not compile on Erlang 19.
{lager, ".*", {git, "git://github.com/basho/lager.git", {tag, "3.2.1"}}},
{exometer_core, ".*", {git, "git://github.com/Feuerlabs/exometer_core.git", "5fdd9426713a3c26cae32f644a3120711b1cdb64"}}
]}.
{erl_opts, [{parse_transform, lager_transform}]}.
1 change: 1 addition & 0 deletions src/exometer_influxdb.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
kernel,
stdlib,
hackney,
lager,
exometer_core
]},
{env, []}
Expand Down

0 comments on commit 797ae2b

Please sign in to comment.