summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use eunit_dir() instead of ?EUNIT_DIR since the function exists.Oscar Hellström2010-08-241-1/+1
| | | | The eunit_dir() does use the ?EUNIT_DIR macro internally, but it also builds, what I guess is, an absolute path, which might be better :) At least it's more consistent.
* Make sure *both* .eunit and ebin directory exists before setting up the code ↵Oscar Hellström2010-08-241-1/+2
| | | | | | path. Normally the ebin directory doesn't contain any source files. Therefore it won't be kept in the repository by, at least, mercurial and also maybe git unless you put some .keep file in it or do some other hack. The ebin directory is created by rebar compile, but if rebar eunit is called before rebar compile, you end up with a {'EXIT', {{badmatch,{error,bad_directory}},...}. Another approach would be not to match cod:add_pathz(ebin_dir()) with ok, but I think this is an ok solution as well.
* Add spec: rebar_utils:abort/2 does not returnTuncer Ayaz2010-10-151-0/+1
| | | | Thanks to Kostis for no_return() result type.
* Fix bug found by Dialyzer in neotoma compilerTuncer Ayaz2010-10-141-2/+4
| | | | Thanks to Cliff Moon for correct fun clause to add.
* Fix issues found by dialyzerTuncer Ayaz2010-10-102-5/+6
|
* Document validate_app_modules optionTuncer Ayaz2010-10-101-0/+3
|
* Dialyzer related cleanupsKostis Sagonas2010-10-1012-57/+65
|
* Made OTP app module validation optionalDave Smith2010-10-101-2/+11
|
* Parse transforms and behaviours are compiled firstAndrew Thompson2010-10-051-8/+18
| | | | | | | | | | | | | | | The previous code in rebar that was trying to ensure that parse transforms and behaviours were compiled first doesn't work with multiple compiler workers because of the possiblity of one of the workers compiling a file that needs a parse transform or a behaviour at the same time another worker is compiling that same parse transform or behaviour. The solution this patch implements is to append any parse transforms and any behaviours (in that order) to erl_first_files to ensure that they are compiled before any regular files. This patch won't break any currently working uses of erl_first files because we only append to the list, so anything in erl_first_files is still compiled before anything else.
* Add debug flag to make it easier to get a debug version of rebarDave Smith2010-10-071-0/+9
|
* Add optional eunit coverage report to terminalAndrew Thompson2010-10-062-2/+35
| | | | | | Add a coverage report similar to the one output to index.html except that it is output to the terminal if the new rebar.conf option 'cover_print_enabled' is set to true.
* Add Manuel Duran Aguete to THANKS fileTuncer Ayaz2010-10-041-0/+1
|
* Add Essien Ita Essien to THANKS fileTuncer Ayaz2010-10-041-0/+1
|
* Merge last two commitsTuncer Ayaz2010-10-030-0/+0
|\
| * Add .gitignore to the source treeEssien Ita Essien2010-10-032-0/+8
| | | | | | | | | | | | | | | | | | | | | | Ignore common files during development. Signed-off-by: Essien Ita Essien <essiene@gmail.com> --- .gitignore | 7 +++++++ .hgignore | 1 + 2 files changed, 8 insertions(+), 0 deletions(-) create mode 100644 .gitignore
* | Add .gitignore to the source treeEssien Ita Essien2010-10-032-0/+8
|/ | | | Ignore common files during development.
* Fix bug 676Tuncer Ayaz2010-10-021-2/+2
| | | | | | The previous fix to relax the regex was insufficient. This is basically the diff proposed by Bryan Fink with the difference of using 'C' instead of 'en_US'.
* Fix xrl_opts/yrl_opts option handlingTuncer Ayaz2010-10-021-6/+6
|
* Make SVN version matching locale agnosticTuncer Ayaz2010-10-021-1/+1
| | | | Reported-by: Manuel Duran Aguete <manuel@aguete.org>
* Add Kostis to THANKS fileTuncer Ayaz2010-10-021-1/+1
|
* Update TODO commentTuncer Ayaz2010-10-011-1/+1
|
* getopt optimization and dialyzer fix from KostisTuncer Ayaz2010-10-011-3/+3
|
* Fix dialyzer warning. Thanks KostisTuncer Ayaz2010-10-011-1/+1
|
* Remove never matching clauseTuncer Ayaz2010-10-011-3/+1
|
* Fix warning: access the right record fieldTuncer Ayaz2010-10-011-1/+1
|
* Fix another filename:join/2 warning. Thanks KostisTuncer Ayaz2010-10-011-1/+1
|
* Update completion to reflect common_test changesTuncer Ayaz2010-09-301-3/+2
|
* Log {error, read_error} dialyzer plt_info errorTuncer Ayaz2010-09-301-0/+2
|
* Fix dialyzer warning: io:format/2 -> okTuncer Ayaz2010-09-291-2/+2
|
* Fix dialyzer warning for call to code:which/1Tuncer Ayaz2010-09-291-1/+2
|
* Fix dialyzer warning: os:find_executable(string())Tuncer Ayaz2010-09-291-1/+1
|
* Fix dialyzer warnings in scm client vsn checksTuncer Ayaz2010-09-292-13/+14
|
* Fix dialyzer warning for rebar_utils:sh/2 callTuncer Ayaz2010-09-291-8/+2
| | | | | rebar_utils:sh/2 terminates on error and does not return an error code as expected.
* Fix dialyzer warning for filename:join/2 callsTuncer Ayaz2010-09-292-3/+3
|
* Update getopt to v0.3.0Tuncer Ayaz2010-09-291-41/+28
| | | | | | | | 2010-09-23 Juan Jose Comellas <juanjo@comellas.org> * Released v0.3.0 * Added support for rebar. * Cleaned up dialyzer warnings.
* Added support for checking out tags from gitBenjamin Nortier2010-09-151-2/+8
|
* Basic tweaks for compiling ports/nifs on mingwDan Gudmundsson2010-09-182-3/+41
|
* Add list-templates to bash completionTuncer Ayaz2010-09-161-1/+1
|
* Add template_dir= to bash completionTuncer Ayaz2010-08-311-2/+2
|
* Adding support for embedding other apps via escript_incl_appsDave Smith2010-08-291-3/+35
| | | | | --HG-- extra : rebase_source : 9eccc596d8fe55b2e0fe3ff2c9c0a9f9a8c92e11
* Add support for specifying template directory on the command lineDave Smith2010-08-281-1/+10
|
* Document how to write good commit messagesTuncer Ayaz2010-08-251-0/+39
| | | | Based on http://gist.github.com/539516.
* Change doc section separator from ~ to =Tuncer Ayaz2010-08-251-1/+1
|
* Remove 'install' from bash completionTuncer Ayaz2010-08-251-2/+2
|
* Remove 'install' from available commands listTuncer Ayaz2010-08-251-1/+0
|
* Removing 'install' command; semantics were poorly defined could damage a ↵Dave Smith2010-08-201-80/+1
| | | | typical OTP installation
* Warn when a command is not implemented. Fail when no supplied commands are ↵Andrew Thompson2010-07-251-1/+21
| | | | | | | | | | 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.
* Fix bug 499; do not delete dependencies that are not in the deps/ directoryDave Smith2010-08-201-2/+4
|
* Fix bug 629; updated help for new common_test commandDave Smith2010-08-201-4/+1
|
* Fix bug 438; add support for listing available templatesDave Smith2010-08-202-0/+16
|