Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add rebar code path to common test code path | Benjamin Nortier | 2010-12-09 | 1 | -2/+11 |
| | |||||
* | Add VCS dir check for bzr and svn | Tuncer Ayaz | 2010-12-07 | 1 | -0/+5 |
| | |||||
* | Check for VCS directory before attempting source update. | Dave Smith | 2010-12-07 | 1 | -5/+22 |
| | |||||
* | Fix code clarity | Tuncer Ayaz | 2010-12-07 | 1 | -3/+3 |
| | |||||
* | Fix compilation of *_first_files | Mihai Balea | 2010-12-01 | 1 | -3/+20 |
| | | | | | | - Check the existence of first_files and fail if they are not present - Get first_files lists from local instead of inherited config definitions, since they only make sense in the local context | ||||
* | Return descriptive errors from is_app_available() | Adam Kocoloski | 2010-11-30 | 1 | -10/+10 |
| | |||||
* | Add new global flag 'debug_info' to erlc_compiler | Joseph Wayne Norton | 2010-11-30 | 1 | -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 prefix | Joseph Wayne Norton | 2010-11-23 | 1 | -0/+2 |
| | | | | e.g. {dialyzer_opts, [{plt, "~/.dialyzer_plt.R14B"}]}. | ||||
* | Fix bug 805 | Juhani Rankimies | 2010-11-22 | 1 | -1/+1 |
| | | | | | | Use rebar_utils:find_executable/1 that wraps the path in quotes to make it work even if it contains whitespace. | ||||
* | Fix git tag and branch dependency handling | Misha Gorodnitzky | 2010-11-20 | 1 | -6/+8 |
| | | | | | Change git downloads and updates to not create branches and fix git tag handling. | ||||
* | Remove mention of "clean" command from rebar_edoc | Daniel Néri | 2010-11-14 | 1 | -1/+0 |
| | |||||
* | Fix EDoc syntax errors | Daniel Néri | 2010-11-14 | 1 | -3/+3 |
| | |||||
* | Add possibility to specify rebar config for the "main" application | Anders | 2010-11-09 | 2 | -7/+24 |
| | |||||
* | Create ebin directory if it is missing for deps | Anders | 2010-11-09 | 1 | -2/+6 |
| | |||||
* | Stop clean from erroring if there's no .app file | Andrew Thompson | 2010-10-29 | 1 | -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 fails | Andrew Thompson | 2010-10-29 | 1 | -2/+5 |
| | | | | | Make the error message newline terminated and, if possible, log the name of the module in which the failure occured. | ||||
* | Port rebar_file_utils to Windows | Juhani Rankimies | 2010-10-27 | 3 | -10/+76 |
| | | | | | | | | 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_utils | Juhani Rankimies | 2010-10-27 | 1 | -16/+0 |
| | | | | mkdir_p/1 and ln_sf/2. | ||||
* | Tidier improvements | Kostis Sagonas | 2010-10-26 | 16 | -99/+78 |
| | |||||
* | Clarify rebar_utils:ensure_dir/1 comment | Tuncer Ayaz | 2010-10-25 | 1 | -1/+2 |
| | |||||
* | Refactor Dialyzer support to make it more usable | Tuncer Ayaz | 2010-10-25 | 2 | -31/+88 |
| | |||||
* | Fixed 819; removed the edoc clean function entirely in favor of requiring ↵ | Dave Smith | 2010-10-25 | 1 | -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/1 | Tuncer Ayaz | 2010-10-22 | 1 | -1/+1 |
| | |||||
* | Add support for overriding the default name/location of the escript; add ↵ | Dave Smith | 2010-10-19 | 1 | -5/+18 |
| | | | | | | | support for cleaning generated script file --HG-- extra : rebase_source : 466f440dcb699e031c5c520d28ee7731b60c535a | ||||
* | First pass at updating dependencies (svn, hg, bzr untested) | David Reid | 2010-10-03 | 1 | -5/+29 |
| | |||||
* | Use eunit_dir() instead of ?EUNIT_DIR since the function exists. | Oscar Hellström | 2010-08-24 | 1 | -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öm | 2010-08-24 | 1 | -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 return | Tuncer Ayaz | 2010-10-15 | 1 | -0/+1 |
| | | | | Thanks to Kostis for no_return() result type. | ||||
* | Fix bug found by Dialyzer in neotoma compiler | Tuncer Ayaz | 2010-10-14 | 1 | -2/+4 |
| | | | | Thanks to Cliff Moon for correct fun clause to add. | ||||
* | Fix issues found by dialyzer | Tuncer Ayaz | 2010-10-10 | 2 | -5/+6 |
| | |||||
* | Dialyzer related cleanups | Kostis Sagonas | 2010-10-10 | 12 | -57/+65 |
| | |||||
* | Made OTP app module validation optional | Dave Smith | 2010-10-10 | 1 | -2/+11 |
| | |||||
* | Parse transforms and behaviours are compiled first | Andrew Thompson | 2010-10-05 | 1 | -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 terminal | Andrew Thompson | 2010-10-06 | 1 | -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 676 | Tuncer Ayaz | 2010-10-02 | 1 | -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 handling | Tuncer Ayaz | 2010-10-02 | 1 | -6/+6 |
| | |||||
* | Make SVN version matching locale agnostic | Tuncer Ayaz | 2010-10-02 | 1 | -1/+1 |
| | | | | Reported-by: Manuel Duran Aguete <manuel@aguete.org> | ||||
* | Update TODO comment | Tuncer Ayaz | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | getopt optimization and dialyzer fix from Kostis | Tuncer Ayaz | 2010-10-01 | 1 | -3/+3 |
| | |||||
* | Fix dialyzer warning. Thanks Kostis | Tuncer Ayaz | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | Remove never matching clause | Tuncer Ayaz | 2010-10-01 | 1 | -3/+1 |
| | |||||
* | Fix warning: access the right record field | Tuncer Ayaz | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | Fix another filename:join/2 warning. Thanks Kostis | Tuncer Ayaz | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | Log {error, read_error} dialyzer plt_info error | Tuncer Ayaz | 2010-09-30 | 1 | -0/+2 |
| | |||||
* | Fix dialyzer warning: io:format/2 -> ok | Tuncer Ayaz | 2010-09-29 | 1 | -2/+2 |
| | |||||
* | Fix dialyzer warning for call to code:which/1 | Tuncer Ayaz | 2010-09-29 | 1 | -1/+2 |
| | |||||
* | Fix dialyzer warning: os:find_executable(string()) | Tuncer Ayaz | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | Fix dialyzer warnings in scm client vsn checks | Tuncer Ayaz | 2010-09-29 | 2 | -13/+14 |
| | |||||
* | Fix dialyzer warning for rebar_utils:sh/2 call | Tuncer Ayaz | 2010-09-29 | 1 | -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 calls | Tuncer Ayaz | 2010-09-29 | 2 | -3/+3 |
| |