summaryrefslogtreecommitdiff
path: root/src
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
|
* 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 optional eunit coverage report to terminalAndrew Thompson2010-10-061-2/+32
| | | | | | 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.
* 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>
* 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
|
* 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
|
* 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
|
* 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
|
* fix get-deps on win32Juhani Rankimies2010-08-042-5/+9
|
* Fixing bug 463; trivial typo in @spec as identified by Bob IppolitoDave Smith2010-08-201-1/+1
|
* Fixing bug 518; original patch by Tim Watson with some minor ↵Dave Smith2010-07-281-1/+29
| | | | cleanups/clarifications
* Only run pre/post scripts for current directory; thanks to Tim Watson for ↵Dave Smith2010-07-272-2/+2
| | | | pointing this out
* Add rebar_pre_script courtesy of Geoff CantTuncer Ayaz2010-07-241-0/+55
|
* Defaulting CC->cc and CXX->c++ for better cross platform supportDave Smith2010-07-121-2/+2
|
* beam_lib:chunks needs abs path to beam.Russell Brown2010-07-041-1/+8
| | | | Uses code:which or cover:is_compiled to get path the beam for chunks
* Document doc commandTuncer Ayaz2010-06-301-0/+2
|
* Fix up code path for eunit so that parse transforms in eunit tests work properlyDave Smith2010-06-281-29/+24
|
* Only skip eunit on apps IIF the app= parameter is specifiedDave Smith2010-06-251-7/+14
| | | | | --HG-- extra : rebase_source : 2f2b819e209a912424c328dd57ec5e00268d40bc
* Correct typoTuncer Ayaz2010-06-231-2/+2
|
* Fix bug 255; O/S environment vars should be processed last, not firstDave Smith2010-06-221-1/+1
|
* Initial cleanup pass on rebar_ct; removing other targets in favor of "ct" ↵Dave Smith2010-06-221-59/+50
| | | | (ala how eunit support works)
* Change console message to debug message (more appropriate)Dave Smith2010-06-221-1/+1
|