Browse Source

fix ct test for new command handling

pull/3/head
Tristan Sloughter 10 years ago
parent
commit
8de7a609ff
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/rebar3.erl
  2. +1
    -1
      test/rebar_compile_SUITE.erl

+ 1
- 1
src/rebar3.erl View File

@ -141,7 +141,7 @@ run_aux(State, Args) ->
{ok, Providers} = application:get_env(rebar, providers),
State3 = rebar_state:create_logic_providers(Providers, State2),
Task = rebar_state:get(State3, task, "help"),
rebar_core:process_command(rebar_state:command_args(State3, Args), ec_cnv:to_atom(Task)),
rebar_core:process_command(rebar_state:command_args(State3, Args), list_to_atom(Task)),
ok.
%%

+ 1
- 1
test/rebar_compile_SUITE.erl View File

@ -43,7 +43,7 @@ build_basic_app(Config) ->
ConfigFile = filename:join([AppDir, "rebar.config"]),
write_config(ConfigFile, []),
rebar3:run(rebar_state:new(State, [], AppDir), ["compile"]),
rebar3:run(rebar_state:new(State, [], AppDir), "compile"),
%% Verify app was built
[App] = rebar_app_discover:find_apps([AppDir]),

Loading…
Cancel
Save