소스 검색

fix ct test for new command handling

pull/3/head
Tristan Sloughter 10 년 전
부모
커밋
8de7a609ff
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      src/rebar3.erl
  2. +1
    -1
      test/rebar_compile_SUITE.erl

+ 1
- 1
src/rebar3.erl 파일 보기

@ -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 파일 보기

@ -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]),

불러오는 중...
취소
저장