Add experimental notice to test-compile and shell

This commit is contained in:
Tuncer Ayaz 2012-07-31 15:39:36 +02:00
parent 471b5714eb
commit ad2e94b96b
2 changed files with 2 additions and 0 deletions

View file

@ -120,6 +120,7 @@ clean(_Config, _File) ->
rebar_file_utils:rm_rf(?TEST_DIR).
'test-compile'(Config, _File) ->
?CONSOLE("NOTICE: Using experimental 'test-compile' command~n", []),
ok = ensure_dirs(),
%% Save code path
CodePath = setup_code_path(),

View file

@ -33,6 +33,7 @@
-export([shell/2]).
shell(_Config, _AppFile) ->
?CONSOLE("NOTICE: Using experimental 'shell' command~n", []),
%% backwards way to say we only want this executed
%% for the "top level" directory
case is_deps_dir(rebar_utils:get_cwd()) of