Skip to content

Commit

Permalink
Merge pull request #126 from gomoripeti/plugins_in_profiles
Browse files Browse the repository at this point in the history
Move plugins to profiles
  • Loading branch information
gomoripeti committed Dec 9, 2017
2 parents 2b40b9a + 2174836 commit ef1ab9d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -33,4 +33,7 @@ doc:
dialyzer:
./rebar3 dialyzer

publish:
./rebar3 as publish hex publish

.PHONY: compile dev npm bootstrap_front_end check_front_end test_front_end webpack webpack_autoreload test doc dialyzer
16 changes: 11 additions & 5 deletions rebar.config
Expand Up @@ -14,10 +14,14 @@

{profiles,
[{test,
[{deps, [ {cth_readable, "1.2.1"} ]}
[{deps, [ {cth_readable, "1.2.1"} ]},
{plugins, [ {coveralls, "1.3.0"} ]}
]},
{dev,
[{deps, [ {sync, "0.1.3"} ]}
]},
{publish,
[{plugins, [ rebar3_hex ]}
]}
]}.

Expand All @@ -27,7 +31,9 @@
{coveralls_coverdata, [ "_build/test/cover/eunit.coverdata", "_build/test/cover/ct.coverdata" ]}.
{coveralls_service_name, "travis-ci"}.

{plugins, [
rebar3_hex,
{coveralls, "1.3.0"}
]}.
%% customized_hdr_histogram defines rebar_hex plugin
%% but that is only needed for package publishing
%% (and we don't want to publish hdr_histogram packages)
{overrides,
[{override, customized_hdr_histogram, [{plugins, []}]}
]}.

0 comments on commit ef1ab9d

Please sign in to comment.