Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure zip module is loaded | Tuncer Ayaz | 2010-03-11 | 1 | -0/+1 |
| | | | | Before we check for zip:foldl/3 make sure zip module is loaded. | ||||
* | Update TODO file | Tuncer Ayaz | 2010-03-08 | 1 | -2/+1 |
| | | | | one item done, another one saved | ||||
* | Add commands option to bash completion | Tuncer Ayaz | 2010-03-08 | 1 | -2/+2 |
| | | | | Add -c/--commands option to the bash completion script. | ||||
* | Add option to show available commands | Tuncer Ayaz | 2010-03-08 | 1 | -29/+74 |
| | | | | | Implement new option -c/--commands to print available commands and its variables. | ||||
* | Add TODO file | Tuncer Ayaz | 2010-03-06 | 1 | -0/+3 |
| | | | | A TODO file is always a good idea. | ||||
* | Add escript_foldl/3 TODO | Tuncer Ayaz | 2010-03-06 | 1 | -0/+3 |
| | | | | | Comment what has to be done when the new OTP release is out and the time is right. | ||||
* | Add forward-compatible escript_foldl function | Tuncer Ayaz | 2010-03-05 | 2 | -3/+33 |
| | | | | | | escript:foldl/3 was undocumented and has been replaced with better APIs post-R13B04. The new exported funs are officially documented. | ||||
* | Merging eunit fixes + some UNIT TESTS!! from cebernard | Dave Smith | 2010-03-05 | 2 | -10/+240 |
|\ | |||||
| * | Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them. | Chris Bernard | 2010-03-04 | 2 | -10/+240 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. When running the eunit command with the convention of putting tests in "*_tests" modules, eunit would run those tests twice. This is because: 1) eunit:test/1 will naturally look for foo's tests both in foo, and in foo_tests, and 2) eunit:test/1 was being folded over all project modules. The fix is to filter "*_tests" modules from the list passed to eunit:test/1. 2. When running the eunit command with cover enabled and tests in a 'test' directory, cover would error because it couldn't find the source code for those tests. This is because cover:analyze/3 will only find module source in "." and "../src". This is hard-coded in cover :-(. Since cover shouldn't be calculating code coverage on test code anyway, the fix is to not fold cover:analyze/3 over non-production code. 3. When running the eunit command with cover enabled and a test suite defined, cover would only attempt to calculate coverage on the the test suite itself. This was because only the suite was passed to cover:analyze/3. The fix is to fold cover:analyze/3 over all the production code, filtering out the suite module if it is defined. | ||||
* | | Merging changes from vagabond | Dave Smith | 2010-03-05 | 1 | -9/+46 |
|\ \ | |||||
| * | | Don't detect the source file as an include of itself | Vagabond | 2010-03-02 | 1 | -7/+9 |
| | | | |||||
| * | | Move the .erl sorting to the right place | Vagabond | 2010-03-02 | 2 | -34/+37 |
| | | | |||||
| * | | Fix dependancy checking for headers by ensuring "include" is always in the ↵ | Vagabond | 2010-03-02 | 1 | -1/+1 |
| | | | | | | | | | | | | eep IncludePath | ||||
| * | | Compile parse transform and custom behaviours first | Vagabond | 2010-03-02 | 1 | -1/+33 |
| |/ | |||||
* | | Support for downloading deps via bzr. | David Reid | 2010-03-05 | 1 | -1/+10 |
| | | |||||
* | | Support downloading deps via SVN. | David Reid | 2010-03-04 | 1 | -4/+11 |
|/ | |||||
* | Add install command target= var to bash completion | Tuncer Ayaz | 2010-02-27 | 1 | -2/+2 |
| | |||||
* | Add missing mode setting in Emacs file variables | Tuncer Ayaz | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | Fix unused var warning | Tuncer Ayaz | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | Refactor eunit and cover | theiw | 2010-02-19 | 1 | -106/+93 |
| | |||||
* | Adding cleaner module to permit users to specify their own set of files to ↵ | Dave Smith | 2010-02-21 | 2 | -1/+43 |
| | | | | delete | ||||
* | Fix bug in templater where escript was not found in subdirs were specified ↵ | Dave Smith | 2010-02-20 | 2 | -4/+11 |
| | | | | in rebar.config; minor formatting cleanups | ||||
* | Add support for installing to a target directory as alternative to Erlang ↵ | Dave Smith | 2010-02-20 | 1 | -2/+7 |
| | | | | base dir | ||||
* | Update comment for filelib:ensure_dir/1 wrapper. | Tuncer Ayaz | 2010-02-17 | 1 | -8/+1 |
| | | | | The wrapper can now be removed as I've fixed the problem in R13B04. | ||||
* | Make sure to add ebin/ to current path when compiling doterl files; found by ↵ | Dave Smith | 2010-02-16 | 1 | -2/+8 |
| | | | | @sj_mackenzie | ||||
* | Deal properly with env vars that have multiple = in the value | Dave Smith | 2010-02-16 | 1 | -2/+2 |
| | |||||
* | Overhaul env expansion so that rebar fully expands env refs prior to ↵ | Dave Smith | 2010-02-16 | 3 | -25/+86 |
| | | | | invoking the shell script. Also now using DRV_* env vars for compilation/linking of files found in c_src; this frees up "normal" CFLAGS/LDFLAGS for usage in sub build scripts. | ||||
* | Updating template defs to use "template" in lieu of "file" directive | Dave Smith | 2010-02-14 | 3 | -4/+4 |
| | |||||
* | Merging w/ http://bitbucket.org/bryan/rebar | Dave Smith | 2010-02-14 | 3 | -28/+61 |
|\ | |||||
| * | provide separate 'file' and 'template' directives, instead of one 'file' ↵ | Bryan Fink | 2010-02-13 | 3 | -33/+50 |
| | | | | | | | | directive with a boolean Render flag | ||||
| * | add chmod template directive for changing file file permission | Bryan Fink | 2010-02-04 | 1 | -0/+8 |
| | | | | | | | | | | | | usage: {chmod, Mode, File} where: Mode is an integer, as specified by the 'mode' field of the file_info record (see docs for file:write_file_info/2) | ||||
| * | add Render flag to 'file' template directive | Bryan Fink | 2010-02-04 | 1 | -2/+9 |
| | | | | | | | | | | | | | | {file,In,Out,true} = render with mustache {file,In,Out,false} = do not render with mustache (leave as-is) old-form {file,In,Out} is equivalent to {file,In,Out,true} | ||||
| * | look for templates in local directory as well | Bryan Fink | 2010-02-04 | 1 | -2/+3 |
| | | |||||
* | | Merging w/ mainline | Dave Smith | 2010-02-13 | 4 | -10/+24 |
|\ \ | |||||
| * | | Break out arch string function; update ERLANG_TARGET to include bitness of ↵ | Dave Smith | 2010-02-12 | 2 | -4/+7 |
| | | | | | | | | | | | | the Erlang target | ||||
| * | | Make sure to cover all edge cases when parsing module names | Dave Smith | 2010-02-12 | 1 | -6/+13 |
| | | | |||||
| * | | Merging w/ mainline | Dave Smith | 2010-02-12 | 2 | -3/+3 |
| |\ \ | |||||
| | * | | Add emacs and vim file local variables | Tuncer Ayaz | 2010-02-11 | 1 | -2/+2 |
| | | | | |||||
| | * | | I'm a moron. Make it a string. | Ryan Tilder | 2010-02-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | Append wordsize to the architecture string | Dave Smith | 2010-02-10 | 1 | -1/+2 |
| |/ / | |||||
| * | | Adding new vars for scripts to determine architecture (32/64 bit) and target ↵ | Dave Smith | 2010-02-10 | 1 | -1/+3 |
| | | | | | | | | | | | | platform of Erlang VM; courtesy of rtilder | ||||
| * | | Add vim line; courtesy of rtilder | Dave Smith | 2010-02-10 | 1 | -0/+1 |
| | | | |||||
* | | | Merging with OJ's branch | Dave Smith | 2010-02-13 | 9 | -3/+161 |
|\ \ \ | |/ / |/| | | |||||
| * | | Added support for the speficiation of test suite names | OJ Reeves | 2010-02-03 | 2 | -4/+36 |
| | | | | | | | | | | | | | | | | | | | | | eg. rebar eunit -- runs all tests in all modules rebar eunit suite=foo -- only runs tests in foo.erl/foo_tests.erl Added an entry to .hgignore to avoid .swp files (created by VIM). | ||||
| * | | Added 3 new templates: | OJ Reeves | 2010-02-03 | 7 | -0/+124 |
| |/ | | | | | | | | | | | - simplefsm - Basic shell of a gen_fsm module - simplesrv - Basic shell of a gen_server module - simplemod - Basic shell of a module along with an associated test module. | ||||
* | | Provide package support for eunit; build_plt now includes listed ↵ | theiw | 2010-02-05 | 6 | -49/+85 |
| | | | | | | | | applications; begin including -spec annotations | ||||
* | | Use init:stop/1 over halt/1 to ensure all I/O gets a chance to flush | Dave Smith | 2010-02-05 | 1 | -1/+1 |
|/ | |||||
* | Do not print dynamic escript name in usage info | Tuncer Ayaz | 2010-02-02 | 1 | -1/+1 |
| | |||||
* | Tweaking order of defaults so that -shared is default across platforms ↵ | Dave Smith | 2010-02-01 | 1 | -1/+1 |
| | | | | unless explicitly overridden | ||||
* | Removing useless debug message and extraneous newline | Dave Smith | 2010-02-01 | 1 | -2/+0 |
| |