Andrew Thompson
ff5a7982eb
Improve error logging when running a command fails
...
Make the error message newline terminated and, if possible, log the name
of the module in which the failure occured.
2010-10-29 11:52:13 -04:00
Kostis Sagonas
7dc76d578e
Tidier improvements
2010-10-26 00:38:51 +02:00
Tuncer Ayaz
2d2aed627f
Refactor Dialyzer support to make it more usable
2010-10-25 22:37:18 +02:00
Kostis Sagonas
e024778599
Dialyzer related cleanups
2010-10-10 14:11:13 -06:00
Tuncer Ayaz
933e4f7620
Fix dialyzer warning. Thanks Kostis
2010-10-01 14:37:42 +02:00
Tuncer Ayaz
1712425588
Fix another filename:join/2 warning. Thanks Kostis
2010-10-01 13:39:02 +02:00
Tuncer Ayaz
33918a0612
Remove 'install' from available commands list
2010-08-25 22:32:42 +02:00
Andrew Thompson
24cc775e88
Warn when a command is not implemented. Fail when no supplied commands are implemented
...
Rebar currently doesn't give any feedback on an invalid command. This change
makes rebar keep track of how many operations each command triggers, if a
particular command doesn't change the count, there were no modules implementing
it. If at the end of handling all commands, tje count is 0, none of the supplied
commands were valid and ?FAIL is called to trigger a non zero exit status.
2010-07-25 01:56:46 -04:00
Dave Smith
ed59ed2b52
Fix bug 629; updated help for new common_test command
2010-08-20 09:53:23 -06:00
Dave Smith
b063d3b8df
Fix bug 438; add support for listing available templates
2010-08-20 09:30:37 -06:00
Tuncer Ayaz
688430fac0
Document doc command
2010-06-30 20:25:13 +02:00
Dave Smith
02bc52fc6a
Add support for embedding VCS info into the version data
2010-06-22 13:47:06 -06:00
Dave Smith
ad7a494bde
Change semantics of skip_deps=true such that deps still get pre/post processed, just not actually run
2010-06-21 10:24:01 -06:00
Klas Johansson
4dae6318aa
Bugfix call to lists:member/2 in ulist/2
...
Change from lists:is_member/2 to lists:member/2, since the former
doesn't exist (the bug only affects rebar_plugins).
2010-06-19 10:08:34 +02:00
Dave Smith
9dda9c2578
Re-adding support for plugin modules
...
--HG--
extra : rebase_source : 90052500da62af1d32337f2d540acb39fdf67db4
2010-06-09 13:45:55 -06:00
Dave Smith
3df1d4292a
Heavy-duty refactor to support truly transitive dependencies
...
--HG--
extra : rebase_source : 41c7f1c337a7cb63582aecd7b87ba998b40ba3aa
2010-06-09 13:16:58 -06:00
Dave Smith
a2f1b62d74
Slightly different fix for bug#5 that avoids running preprocess twice
2010-06-08 13:31:43 -06:00
Dave Smith
623200ec17
Adding rt for bug 5
2010-06-04 12:21:24 -06:00
Dave Smith
30ae41dafd
Minor cleanup of acc_modules for readability
2010-06-03 15:12:13 -06:00
Dave Smith
1866f65758
Refactor/simplify things since we only run one command at a time (versus a string of them)
2010-06-03 14:47:13 -06:00
Bob Ippolito
35a928ecf2
merge ssh://hg@bitbucket.org/basho/rebar
2010-05-15 13:59:33 -07:00
Bob Ippolito
9dd9585d5b
include source path in compiler errors, process commands separately (to make get-deps compile work), ensure ebin dir, process iteratively to support transitive deps
2010-05-15 13:57:07 -07:00
Bob Ippolito
124897e937
run plugins once, do not run as a preprocessor, add ebin to path early
2010-05-11 13:07:13 -07:00
Bob Ippolito
89b57e3aa4
when using plugin_modules, add ebin to path
2010-05-11 12:33:52 -07:00
Bob Ippolito
66f44c6362
fix backwards match for debugging print
2010-05-11 12:07:19 -07:00
Bob Ippolito
92be7a38bf
rebar_plugins in rebar_config to allow extensions
2010-05-11 08:35:47 -07:00
Bob Ippolito
59ab113f3b
Run the preprocess again if subdirs were compiled, fixes http://bitbucket.org/basho/rebar/issue/5
2010-05-08 07:07:28 -07:00
Bob Ippolito
100f277192
comment typo
2010-05-08 04:52:52 -07:00
Jeremy Raymond
8e195e5337
Make 'command does not apply' warning into a warning
2010-05-11 12:22:12 -04:00
Bob Ippolito
317655f724
comment typo
2010-05-08 04:52:52 -07:00
Bob Ippolito
f436d7cd3c
add variables for create-app and create-node to help
2010-05-08 03:49:10 -07:00
Tuncer Ayaz
914e5fbf68
New commands and opts (-V/--version/version/help)
2010-05-03 11:38:27 +02:00
Dave Smith
29a3d7267c
Merging w/ mainline
2010-04-17 07:35:40 -06:00
Dave Smith
266d82f871
Add simple warning if no modules are interested in handling a command for a given directory
2010-04-17 07:34:54 -06: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
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
Dave Smith
c71ec1d68f
Merging w/ mainline
2010-03-16 13:30:52 -06:00
Dave Smith
be6bb20c59
Revamp deps system to NOT pull down deps automatically. You must now use pull-deps explicitly
2010-03-16 13:30:22 -06:00
Tuncer Ayaz
ebfb1dc40d
Add option to show available commands
...
Implement new option -c/--commands to print available
commands and its variables.
2010-03-08 21:14:06 +01:00
Dave Smith
28d3b75641
Fix bug in templater where escript was not found in subdirs were specified in rebar.config; minor formatting cleanups
2010-02-20 20:15:07 -07:00
theiw
788bd3df72
Provide package support for eunit; build_plt now includes listed applications; begin including -spec annotations
2010-02-05 17:34:38 +00:00
Tuncer Ayaz
2734f2bcc2
Do not print dynamic escript name in usage info
2010-02-02 12:56:16 +01:00
Tuncer Ayaz
e9ddd08e2a
Simplified usage info printing with getopt v0.2
2010-01-09 00:36:29 +01:00
Tuncer Ayaz
fb0cee2afb
Implemented option to specify number of concurrent workers a command may use
2010-01-06 17:31:14 +01:00
Dave Smith
fa2a58261a
Another round of refactoring to yield better flexiblity in the base_compiler system
2010-01-03 22:53:04 -07:00
Dave Smith
18e1b37e6f
Break out command line argument parsing to a dedicated routine
2010-01-01 06:22:25 -07:00
Dave Smith
48c2c169ab
Merging w/ bitbucket
2009-12-31 19:31:00 -07:00
Dave Smith
02fa5f6f42
Make sure to reset CWD after processing subdirs; also filter out missing dirs when restoring code path
2009-12-31 19:29:33 -07:00
Tuncer Ayaz
0817dec7ca
Rolled back getopt to restore custom variables
2010-01-01 00:08:00 +01:00