Skip to content

Commit

Permalink
Merge pull request #41 from lpgauth/upkeep/support-hex
Browse files Browse the repository at this point in the history
Add support for hex.pm
  • Loading branch information
lpgauth authored Jan 23, 2017
2 parents 64f3f42 + ebe96a8 commit 03f1b0d
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 29 deletions.
6 changes: 0 additions & 6 deletions elvis.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
{elvis_style, state_record_and_type},
{elvis_style, used_ignored_variable}
]},
#{dirs => ["."],
filter => "rebar.config",
rules => [
{elvis_project, no_deps_master_rebar, #{ignore => []}},
{elvis_project, protocol_for_deps_rebar, #{ignore => []}}
]},
#{dirs => ["."],
filter => "elvis.config",
rules => [
Expand Down
6 changes: 2 additions & 4 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
{coveralls_service_name, "travis-ci"}.

{deps, [
{granderl, ".*",
{git, "https://github.com/tokenrove/granderl.git", {tag, "v0.1.4"}}},
{parse_trans, ".*",
{git, "https://github.com/uwiger/parse_trans.git", {tag, "3.0.0"}}}
{granderl, "0.1.5"},
{parse_trans, "3.0.0"}
]}.

{edoc_opts, [
Expand Down
16 changes: 14 additions & 2 deletions rebar.config.script
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
Config = case erlang:function_exported(rebar3, main, 1) of
true ->
CONFIG;
false ->
[{deps, [
{granderl, ".*",
{git, "https://github.com/tokenrove/granderl.git", {tag, "v0.1.5"}}},
{parse_trans, ".*",
{git, "https://github.com/uwiger/parse_trans.git", {tag, "3.0.0"}}}
]} | lists:keydelete(deps, 1, CONFIG)]
end,

case os:getenv("TRAVIS") of
"true" ->
JobId = os:getenv("TRAVIS_JOB_ID"),
lists:keystore(coveralls_service_job_id, 1, CONFIG, {coveralls_service_job_id, JobId});
lists:keystore(coveralls_service_job_id, 1, Config, {coveralls_service_job_id, JobId});
_ ->
CONFIG
Config
end.
16 changes: 8 additions & 8 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[{<<"granderl">>,
{git,"https://github.com/tokenrove/granderl.git",
{ref,"b44725cdd3ae6d2d4170e0d72ebb2fcad98d5ad2"}},
0},
{<<"parse_trans">>,
{git,"https://github.com/uwiger/parse_trans.git",
{ref,"6f3645afb43c7c57d61b54ef59aecab288ce1013"}},
0}].
{"1.1.0",
[{<<"granderl">>,{pkg,<<"granderl">>,<<"0.1.5">>},0},
{<<"parse_trans">>,{pkg,<<"parse_trans">>,<<"3.0.0">>},0}]}.
[
{pkg_hash,[
{<<"granderl">>, <<"F20077A68BD80B8D8783BD15A052813C6483771DEC1A5B837D307CBE92F14122">>},
{<<"parse_trans">>, <<"9E96B1C9C3A0DF54E7B76F8F685D38BFA1EB21B31E042B1D1A5A70258E4DB1E3">>}]}
].
17 changes: 8 additions & 9 deletions src/statsderl.app.src
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{application, statsderl, [
{description, "statsd client"},
{vsn, "0.5.1"},
{registered, []},
{applications, [
kernel,
stdlib,
granderl
]},
{applications, [kernel, stdlib, granderl]},
{description, "High Performance Erlang StatsD Client"},
{env, []},
{licenses, ["MIT"]},
{links, [{"GitHub", "https://github.com/lpgauth/statsderl"}]},
{maintainers, ["Louis-Philippe Gauthier"]},
{mod, {statsderl_app, []}},
{env, []}
{registered, []},
{vsn, "0.5.1"}
]}.

0 comments on commit 03f1b0d

Please sign in to comment.