Dave Smith
8d14f3193d
Initial cleanup pass on rebar_ct; removing other targets in favor of "ct" (ala how eunit support works)
2010-06-22 15:43:09 -06:00
Dave Smith
c2b58ac62f
Change console message to debug message (more appropriate)
2010-06-22 15:42:05 -06:00
Dave Smith
9d09ccc99a
Adding support for restricting eunit to a specific application
2010-06-22 14:31:31 -06:00
Dave Smith
1f3c49cae7
Move version check/enforcement for reltool into rebar_reltool; rebar should work (excepting reltool support) with anything as far back as R12, once you've compiled it
2010-06-22 14:13:39 -06:00
Dave Smith
02bc52fc6a
Add support for embedding VCS info into the version data
2010-06-22 13:47:06 -06:00
Dave Smith
c32d26f509
Enable target_dir to be passed as command-line parameter
2010-06-22 10:25:42 -06:00
Dave Smith
127483f32b
Make sure to apply any file perms when doing a templated file
2010-06-21 15:08:30 -06:00
Dave Smith
f3039c7a87
Escape backslashes prior to escaping the quotes
2010-06-21 14:48:37 -06:00
Klas Johansson
07b20d16f8
Remove warnings reported by xref
...
Replace rebar_util:get_cwd/0 by rebar_utils:get_cwd/0. Luckily the
misspelt module name doesn't seem to have caused any harm, since
rebar_app_utils:is_app_dir/0 and rebar_rel_utils:is_rel_dir/0 aren't
called (only their /1 counterparts).
2010-06-19 18:53:54 +02:00
Klas Johansson
aea3184139
Fix compiler warnings
2010-06-19 15:46:57 +02: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
Andy Gross
b5d6fed2f6
fix call to dict:new (should be dict:from_list)
2010-06-16 22:57:01 -04:00
Dave Smith
68c0def250
Fix missing parameter when invoking rebar_utils:sh
2010-06-15 14:49:03 -06:00
Dave Smith
6f40b80ee3
Fixing http://hg.basho.com/rebar/issue/6 ; rebar_edoc was a little enthusiastic about deleting the doc dir
2010-06-15 14:37:00 -06:00
Dave Smith
4a12b13939
Refactor of overlay support in reltool extension; adding support for templating overlay files
...
--HG--
extra : rebase_source : f042bd65d63dbaf4177f444f66033883bf7522a5
2010-06-14 18:16:26 -06:00
Cliff Moon
55c1e44ba5
Added a compiler plugin for neotoma grammars
2010-05-03 22:59:43 -07:00
Dave Smith
deaabbe9a7
Adding support for compile/clean post scripts, per suggestion from Kevin Smith
2010-06-14 05:59:14 -06:00
Chris Chew
73a67adab4
Fixed problem where install was broken when the .app file is generated from
2010-06-07 11:55:22 -06:00
Russell Brown
7d6f04b42f
Stuffed in a global for deps dir.
...
*If* there is a deps_dir tuple in the root rebar.config then
that is used globally as the deps dir. This is to stop dependencies for dependencies being
created in a different deps_dir even if the sub dependency so specifies.
2010-06-12 21:55:58 +01:00
Tuncer Ayaz
6ea5a548e1
Add missing comma
2010-06-12 13:38:41 +02:00
Dave Smith
8f9300124e
Make delete-deps a bit smarter
2010-06-11 10:03:41 -06:00
Dave Smith
6efd2516ce
Re-add support for delete-deps
2010-06-09 14:07:34 -06: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
a86cb0b4fa
Re-add support for skip_deps
...
--HG--
extra : rebase_source : bd95812644fc600e7439f40d68259687e1bf9073
2010-06-09 13:32:28 -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
dfb0d87658
Removing some unnecessary debugging messages
...
--HG--
extra : rebase_source : 05a045be5aed66ee292e6f5896ab6de71d4a2128
2010-06-09 13:16:12 -06:00
Dave Smith
5ec8918636
Cleaning up logging messages
...
--HG--
extra : rebase_source : 60b49fa683387a1cea498c2bec50421ef855fea6
2010-06-09 13:15:49 -06:00
Dave Smith
a2f1b62d74
Slightly different fix for bug#5 that avoids running preprocess twice
2010-06-08 13:31:43 -06:00
theiw
a88d70c627
Include EDoc generation support
2010-03-04 13:00:14 +00: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
Chris Bernard
4825353a23
Fix incorrect coverage count when prod modules include EUnit header.
...
Modules that include the EUnit header get an implicit test/0 fun,
which cover considers a runnable line, but eunit:(TestRepresentation)
never calls. Result: prod modules with tests can never reach 100%
coverage. Ironic. In this case, fix it by decrementing the NotCovered
counter returned by cover:analyze/3.
2010-05-15 15:09:45 -04: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
fc58d12820
fix hg and git clone commands for when repo does not exactly match application name
2010-05-11 14:46:20 -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
Dave Smith
2af6dc84ae
Complete implementation for simplistic .app.src processing.
2010-05-07 12:01:48 -06:00
Dave Smith
902e00fb93
Add support for requiring a specific ERTS or OTP version via a regex
2010-05-03 19:47:07 -06:00
David Reid
b85c0b4515
Add a global config option skip_deps which when present will cause dependencies not to be added to the list of directories to process, useful for ./rebar skip_deps=true eunit so that you don't run the tests of every dependency.
2010-04-29 14:40:37 -07:00
Jon Meredith
bf3dfcb34b
Taught eunit/coverage to split the src module coverage stats from any test code.
2010-05-03 11:37:14 -06:00