Commit graph

48 commits

Author SHA1 Message Date
yannayl
da7d413fb0 Add 'shell' sub-command to shell-completion 2015-02-13 09:05:33 +00:00
Tuncer Ayaz
631d74c00f Implement eflame -p/--profile support
When -p/--profile is enabled, you can select the profiler as follows:

generate flame graph (eflame.svg) from trace (eflame.trace)
$ rebar -p compile profiler=eflame

generate fprof.analysis
$ rebar -p compile

generate fprof.analysis
$ rebar -p compile profiler=fprof
2014-10-29 19:24:58 +01: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
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
Tuncer Ayaz
1ce06c76fc bash-completion: add dump_spec=1 2012-11-30 16:09:41 +01:00
Tuncer Ayaz
ee97a65c14 bash-completion: add generate-appups 2012-11-26 13:39:36 +01: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
Tuncer Ayaz
51b3feabc4 Added check_plt to bash-completion 2010-01-09 14:50:29 +01:00
Tuncer Ayaz
e60a6acc41 Removed redundant create-app 2010-01-09 13:35:09 +01:00
Tuncer Ayaz
1e6d92a3a6 Fixed bash-completion to use --jobs without equal sign and removed comment 2010-01-09 13:31:31 +01:00
Tuncer Ayaz
2ae3fd9aae Added jobs= to bash-completion 2010-01-09 00:43:22 +01:00
Tuncer Ayaz
81fd519100 Added first version of a bash-completion script 2010-01-08 23:47:41 +01:00