summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve error logging when running a command failsAndrew Thompson2010-10-291-2/+5
| | | | | Make the error message newline terminated and, if possible, log the name of the module in which the failure occured.
* Port rebar_eunit_tests to WindowsJuhani Rankimies2010-10-271-5/+12
|
* Port rebar_file_utils to WindowsJuhani Rankimies2010-10-274-10/+341
| | | | | | | | Modify rm_rf and cp_r to work when {win32,_} = os:type(). Simplify rm_rf to only accept one filename, directoryname or wildcard. Add unit tests to ensure a similar behaviour on windows and unix. Thanks to tuncer for guidance and feedback.
* Remove unused functions from rebar_file_utilsJuhani Rankimies2010-10-271-16/+0
| | | | mkdir_p/1 and ln_sf/2.
* Improve rebar.batJuhani Rankimies2010-10-271-1/+2
| | | | | | | Add support for invoking rebar from other than current directory. For example: ..\rebar create-node nodeid=mysample requires rebar.bar and rebar (escript) to be in the same directory.
* Fix bz://705; make sure to invoke chmod as part of the templateDave Smith2010-10-271-0/+3
|
* Tidier improvementsKostis Sagonas2010-10-2616-99/+78
|
* Clarify rebar_utils:ensure_dir/1 commentTuncer Ayaz2010-10-251-1/+2
|
* Refactor Dialyzer support to make it more usableTuncer Ayaz2010-10-254-35/+95
|
* Fixed 819; removed the edoc clean function entirely in favor of requiring ↵Dave Smith2010-10-251-13/+1
| | | | | | user to explicitly specify what files should be deleted. If there is no convention or way to programatically figure out what files to process, don't guess.
* Match ok result of filelib:ensure_dir/1Tuncer Ayaz2010-10-221-1/+1
|
* Add support for overriding the default name/location of the escript; add ↵Dave Smith2010-10-191-5/+18
| | | | | | | support for cleaning generated script file --HG-- extra : rebase_source : 466f440dcb699e031c5c520d28ee7731b60c535a
* First pass at updating dependencies (svn, hg, bzr untested)David Reid2010-10-031-5/+29
|
* 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
|