basho / rebar
Erlang Build Tools -- Please file bug and feature requests at http://issues.basho.com.
| commit 196: | 00b2aec029f5 |
| parent 195: | cd8312f872dc |
| branch: | default |
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.
tuncer
5 months ago
5 months ago
Changed (Δ180 bytes):
raw changeset »
priv/shell-completion/bash/rebar (2 lines added, 2 lines removed)
src/rebar_core.erl (4 lines added, 1 lines removed)
Up to file-list priv/shell-completion/bash/rebar:
| … | … | @@ -9,8 +9,8 @@ _rebar() |
9 |
9 |
sopts="-h -c -v -f -j" |
10 |
10 |
lopts=" --help --commands --verbose --force --jobs=" |
11 |
11 |
cmdsnvars="analyze build_plt check_plt clean compile \ |
12 |
create-app create-node eunit generate \ |
|
13 |
install int_test perf_test test \ |
|
12 |
create-app create-node delete-deps eunit \ |
|
13 |
get-deps generate install int_test perf_test test \ |
|
14 |
14 |
case= force=1 jobs= suite= verbose=1 appid= target= template=" |
15 |
15 |
|
16 |
16 |
if [[ ${cur} == --* ]] ; then |
Up to file-list src/rebar_core.erl:
| … | … | @@ -123,7 +123,7 @@ set_global_flag(Options, Flag) -> |
123 |
123 |
rebar_config:set_global(Flag, Value). |
124 |
124 |
|
125 |
125 |
%% |
126 |
%% print help |
|
126 |
%% print help and maybe halt execution |
|
127 |
127 |
%% |
128 |
128 |
print_help_maybe_halt(Options, NonOptArgs) -> |
129 |
129 |
case proplists:get_bool(help, Options) of |
| … | … | @@ -173,6 +173,9 @@ commands() -> |
173 |
173 |
"create-app Create simple app skel~n" |
174 |
174 |
"create-node Create simple node skel~n" |
175 |
175 |
"~n" |
176 |
"get-deps Fetch dependencies~n" |
|
177 |
"delete-deps Delete fetched dependencies~n" |
|
178 |
"~n" |
|
176 |
179 |
"generate [dump_spec=0/1] Build release with reltool~n" |
177 |
180 |
"install [target=] Install build into target~n" |
178 |
181 |
"~n" |
