Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Update getopt to v0.3.0 | Tuncer Ayaz | 2010-09-29 | 1 | -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 git | Benjamin Nortier | 2010-09-15 | 1 | -2/+8 | |
| | ||||||
* | Basic tweaks for compiling ports/nifs on mingw | Dan Gudmundsson | 2010-09-18 | 2 | -3/+41 | |
| | ||||||
* | Adding support for embedding other apps via escript_incl_apps | Dave Smith | 2010-08-29 | 1 | -3/+35 | |
| | | | | | --HG-- extra : rebase_source : 9eccc596d8fe55b2e0fe3ff2c9c0a9f9a8c92e11 | |||||
* | Add support for specifying template directory on the command line | Dave Smith | 2010-08-28 | 1 | -1/+10 | |
| | ||||||
* | Remove 'install' from available commands list | Tuncer Ayaz | 2010-08-25 | 1 | -1/+0 | |
| | ||||||
* | Removing 'install' command; semantics were poorly defined could damage a ↵ | Dave Smith | 2010-08-20 | 1 | -80/+1 | |
| | | | | typical OTP installation | |||||
* | Warn when a command is not implemented. Fail when no supplied commands are ↵ | Andrew Thompson | 2010-07-25 | 1 | -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/ directory | Dave Smith | 2010-08-20 | 1 | -2/+4 | |
| | ||||||
* | Fix bug 629; updated help for new common_test command | Dave Smith | 2010-08-20 | 1 | -4/+1 | |
| | ||||||
* | Fix bug 438; add support for listing available templates | Dave Smith | 2010-08-20 | 2 | -0/+16 | |
| | ||||||
* | fix get-deps on win32 | Juhani Rankimies | 2010-08-04 | 2 | -5/+9 | |
| | ||||||
* | Fixing bug 463; trivial typo in @spec as identified by Bob Ippolito | Dave Smith | 2010-08-20 | 1 | -1/+1 | |
| | ||||||
* | Fixing bug 518; original patch by Tim Watson with some minor ↵ | Dave Smith | 2010-07-28 | 1 | -1/+29 | |
| | | | | cleanups/clarifications | |||||
* | Only run pre/post scripts for current directory; thanks to Tim Watson for ↵ | Dave Smith | 2010-07-27 | 2 | -2/+2 | |
| | | | | pointing this out | |||||
* | Add rebar_pre_script courtesy of Geoff Cant | Tuncer Ayaz | 2010-07-24 | 1 | -0/+55 | |
| |