diff options
author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-01-12 12:30:24 -0600 |
---|---|---|
committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-01-12 12:30:24 -0600 |
commit | 7238f2e7e86018807ba4ad840e0647f381190a7a (patch) | |
tree | 4b2b2f910f83be162e83c4c1a9761157592f7d4f /src/rebar_core.erl | |
parent | 47269b1a8194e13a5a3de0f829cecaef85bf8419 (diff) | |
parent | 407362c074ffbc280443e35ed95f4eb2abce0a78 (diff) |
Merge pull request #96 from tsloughter/profiles
replace single profile atom in providers with list of profiles
Diffstat (limited to 'src/rebar_core.erl')
-rw-r--r-- | src/rebar_core.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl index c3a8951..9d9262c 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -77,8 +77,8 @@ process_command(State, Command) -> Command when Command =:= do; Command =:= as -> do(TargetProviders, State); _ -> - Profile = providers:profile(CommandProvider), - State1 = rebar_state:apply_profiles(State, [Profile]), + Profiles = providers:profiles(CommandProvider), + State1 = rebar_state:apply_profiles(State, Profiles), Opts = providers:opts(CommandProvider)++rebar3:global_option_spec_list(), case getopt:parse(Opts, rebar_state:command_args(State1)) of |