Commit graph

55 commits

Author SHA1 Message Date
Joe DeVivo
519e1c8d16 fish shell completions for rebar 2014-08-25 09:58:52 -07:00
Tuncer Ayaz
77a0eb6fe4 Fix #56 (always-on recursion)
Always-on recursive application of all rebar commands causes too many
issues. Recursive application is required for:
1. dealing with dependencies: get-deps, update-deps, and compile of deps
   right after get-deps or update-deps
2. projects with a riak-like apps/ project structure and dev process

The vast majority of projects are not structured like riak. Therefore,
moving forward it's best to (by default) restrict recursive behavior to
dealing with deps. This commit does that and also adds command line and
rebar.config options for controlling or configuring recursion. Also, we
introduce two meta commands: prepare-deps (equivalent to rebar -r
get-deps compile) and refresh-deps (equivalent to rebar -r update-deps
compile). riak-like projects can extend the list of recursive commands
(to include 'eunit' and 'compile') by adding
{recursive_cmds, [eunit, compile]} to rebar.config.
2014-03-11 21:11:36 +00:00
Pierre Fenoll
c83d037404 Add a library template 2013-12-19 22:01:25 +00:00
Tuncer Ayaz
6de94e8a16 Change default log level to 'warn' and introduce -q/--quiet 2013-12-06 19:05:45 +01:00
Dave Smith
65ed9d9811 Merge pull request #34 from shkumagai/feature/zsh-completion-add-options
Add missing variables
2012-12-02 08:05:39 -08:00
Shoji KUMAGAI
f5a5843d77 Add missing variables
- add overlay_vars=, target_dir=, and tests= with short description
2012-12-03 00:04:07 +09:00
Tuncer Ayaz
dfbba0f4e7 bash-completion: add missing options and variables
- add missing short and long options
- add tests=, target_dir=, overlay_vars=
2012-12-01 15:31:01 +01:00
Shoji KUMAGAI
da5cbe3b0f zsh-completion: add 'dump_spec' back again 2012-12-01 01:30:48 +09:00
Tuncer Ayaz
1ce06c76fc bash-completion: add dump_spec=1 2012-11-30 16:09:41 +01:00
Dave Smith
f0a2c5e84f Merge pull request #19 from shkumagai/feature/zsh-completion-refine
Change zsh completion script
2012-11-30 06:35:35 -08:00
Tuncer Ayaz
ee97a65c14 bash-completion: add generate-appups 2012-11-26 13:39:36 +01:00
Shoji KUMAGAI
0bb1416479 Change zsh completion script
- Add 'escriptize' command
- Remove variable 'dump_spec'
2012-11-16 14:52:34 +09:00
Tuncer Ayaz
d97f94ae1e zsh completion: fix typos 2012-11-01 12:13:07 +01:00
Shoji KUMAGAI
468e1ec9a9 Add zsh completion script
For enable to shell-completion in zsh.
2012-11-01 10:47:13 +09:00
Tuncer Ayaz
147b1a0798 bash completion: remove duplicate cmd 2012-08-09 15:16:22 +02:00
Tuncer Ayaz
803f6e8ecd Replace test-compile with compile_only=true option 2012-08-09 14:04:53 +02:00
Tuncer Ayaz
e75a97ad33 Add 'qc' cmd and rename eunit-compile to test-compile 2012-07-23 16:22:06 +02:00
Tuncer Ayaz
902dcdf3ff Add 'eunit-compile' cmd (Suggested-by: Joe Norton) 2012-07-23 13:28:38 +02:00
Tuncer Ayaz
2daf7cae27 Add escriptize to bash completion 2012-05-18 19:57:57 +02:00
Tuncer Ayaz
32ddef7158 Remove alt_url support in favor of new features 2012-05-13 19:30:38 +02:00
Adam Schepis
03a026f38f Add support for alternate dependency urls
This change adds the ability to use alternate urls for downloading
dependencies. To make use of alternate urls run:
rebar get-deps alt_urls=true
2012-03-31 19:21:25 +02:00
Tuncer Ayaz
8ce8affa11 Add nodeid= to bash completion 2012-01-20 17:26:52 +01:00
Magnus Klaar
4db90bafef Deprecate ct suite= option for suites= option 2012-01-06 20:40:46 +01:00
Tuncer Ayaz
8c89a388bf Universally support apps=/skip_apps= 2011-12-12 21:20:34 +01:00
Tuncer Ayaz
d228e94137 Add root_dir= to shell completion 2011-11-26 12:09:39 +01:00
Tuncer Ayaz
285ca0f6be Add overlay command to shell completion 2011-10-20 20:56:34 +02:00
Tuncer Ayaz
013a49a941 Add list-deps to completion and abbrev-cmds 2011-06-10 17:20:49 +02:00
Tuncer Ayaz
ca3368a6b4 Remove leftover references to rebar_dialyzer 2011-06-07 01:11:32 +02:00
Tuncer Ayaz
16a7561d93 Add skip_app to shell completion 2011-04-06 18:57:37 +02:00
Tuncer Ayaz
be209f24ff Make debug_info default
Add no_debug_info option.
Remove debug_info=1 option.
2011-03-30 11:19:37 +02:00
Tuncer Ayaz
f4070bfad7 Update shell completion: generate-upgrade
Add generate-upgrade and previous_release=.
2011-01-28 19:10:19 +01:00
Tuncer Ayaz
d8e50e8c2d Implement update-deps and disable auto update 2010-12-17 12:39:50 +01:00
Tuncer Ayaz
bb6d07011f Add debug_info=1 to shell completion 2010-11-30 00:24:27 +01:00
Tuncer Ayaz
2d2aed627f Refactor Dialyzer support to make it more usable 2010-10-25 22:37:18 +02:00
Tuncer Ayaz
3e6f8cac12 Update completion to reflect common_test changes 2010-09-30 13:48:10 +02:00
Tuncer Ayaz
0f486c8cc1 Add list-templates to bash completion 2010-09-16 02:51:50 +02:00
Tuncer Ayaz
a43381fe0b Add template_dir= to bash completion 2010-08-31 12:41:34 +02:00
Tuncer Ayaz
c7863d9419 Remove 'install' from bash completion 2010-08-25 22:32:56 +02:00
Tuncer Ayaz
52609eaca1 Add doc command and skip_deps option to bash completion 2010-06-30 20:24:22 +02:00
Tuncer Ayaz
914e5fbf68 New commands and opts (-V/--version/version/help) 2010-05-03 11:38:27 +02:00
Tuncer Ayaz
1e8916ba87 Document xref command
Also add a sleep after printing so that the io server has
written all output before exiting. It's a work around.
2010-04-15 20:20:20 +02:00
Tuncer Ayaz
3a1d2e433c Add create to shell completion 2010-03-26 19:31:07 +01:00
Tuncer Ayaz
0f494c2a14 Add check-deps to shell completion and commands info 2010-03-26 19:28:01 +01:00
Tuncer Ayaz
3dfc7a8486 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.
2010-03-17 01:26:32 +01:00
Tuncer Ayaz
459b312ada Add template variable to bash completion
Add create command's template variable to bash completion.
2010-03-11 01:40:06 +01:00
Tuncer Ayaz
16c5de8aea Add commands option to bash completion
Add -c/--commands option to the bash completion script.
2010-03-08 21:59:28 +01:00
Tuncer Ayaz
56e30351f7 Add install command target= var to bash completion 2010-02-27 00:07:00 +01:00
Tuncer Ayaz
d32bd6d4a1 Added appid= to bash-completion 2010-01-16 18:52:25 +01:00
Tuncer Ayaz
ba306ec183 Simplified bash-completion script 2010-01-10 10:38:05 +01:00
Tuncer Ayaz
59bfc5044f Fixed trailing space issue for options ending with an equal sign 2010-01-09 18:24:08 +01:00