summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add new global flag 'debug_info' to erlc_compilerJoseph Wayne Norton2010-11-301-1/+8
| | | | | | | Using rebar's commandline, enable/disable 'debug_info' for compilation. This feature if added to all rebar compilers could help simplify and standardize this common use case for all rebar build targets.
* Support dialyzer plt paths having "~/" as a prefixJoseph Wayne Norton2010-11-231-0/+2
| | | | e.g. {dialyzer_opts, [{plt, "~/.dialyzer_plt.R14B"}]}.
* Fix bug 805Juhani Rankimies2010-11-221-1/+1
| | | | | | Use rebar_utils:find_executable/1 that wraps the path in quotes to make it work even if it contains whitespace.
* Add Misha Gorodnitzky to THANKS fileTuncer Ayaz2010-11-211-0/+1
|
* Document the pre and post script hooksAndrew Thompson2010-11-211-0/+12
|
* Fix git tag and branch dependency handlingMisha Gorodnitzky2010-11-201-6/+8
| | | | | Change git downloads and updates to not create branches and fix git tag handling.
* Fix dialyzer_opts documentationTuncer Ayaz2010-11-201-1/+1
|
* Add Daniel Neri to THANKS fileTuncer Ayaz2010-11-201-0/+1
|
* Document edoc_optsAndrew Thompson2010-11-201-0/+5
|
* Remove mention of "clean" command from rebar_edocDaniel Néri2010-11-141-1/+0
|
* Fix EDoc syntax errorsDaniel Néri2010-11-141-3/+3
|
* Add possibility to specify rebar config for the "main" applicationAnders2010-11-092-7/+24
|
* Create ebin directory if it is missing for depsAnders2010-11-091-2/+6
|
* Stop clean from erroring if there's no .app fileAndrew Thompson2010-10-291-1/+9
| | | | | If rebar tries to clean the .app file (because there's a .app.src file) and it doesn't exist (possibly because of a bad compile), don't fail.
* 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
|