mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Add get-deps and delete-deps to commands info and shell completion
Add get-deps and delete-deps to commands info string and bash completion script.
This commit is contained in:
parent
c71ec1d68f
commit
3dfc7a8486
2 changed files with 6 additions and 3 deletions
|
@ -9,8 +9,8 @@ _rebar()
|
|||
sopts="-h -c -v -f -j"
|
||||
lopts=" --help --commands --verbose --force --jobs="
|
||||
cmdsnvars="analyze build_plt check_plt clean compile \
|
||||
create-app create-node eunit generate \
|
||||
install int_test perf_test test \
|
||||
create-app create-node delete-deps eunit \
|
||||
get-deps generate install int_test perf_test test \
|
||||
case= force=1 jobs= suite= verbose=1 appid= target= template="
|
||||
|
||||
if [[ ${cur} == --* ]] ; then
|
||||
|
|
|
@ -123,7 +123,7 @@ set_global_flag(Options, Flag) ->
|
|||
rebar_config:set_global(Flag, Value).
|
||||
|
||||
%%
|
||||
%% print help
|
||||
%% print help and maybe halt execution
|
||||
%%
|
||||
print_help_maybe_halt(Options, NonOptArgs) ->
|
||||
case proplists:get_bool(help, Options) of
|
||||
|
@ -173,6 +173,9 @@ commands() ->
|
|||
"create-app Create simple app skel~n"
|
||||
"create-node Create simple node skel~n"
|
||||
"~n"
|
||||
"get-deps Fetch dependencies~n"
|
||||
"delete-deps Delete fetched dependencies~n"
|
||||
"~n"
|
||||
"generate [dump_spec=0/1] Build release with reltool~n"
|
||||
"install [target=] Install build into target~n"
|
||||
"~n"
|
||||
|
|
Loading…
Reference in a new issue