From 407362c074ffbc280443e35ed95f4eb2abce0a78 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sun, 11 Jan 2015 10:21:18 -0600 Subject: replace single profile atom in providers with list of profiles --- src/rebar_core.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rebar_core.erl') 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 -- cgit v1.1