summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make sure zip module is loadedTuncer Ayaz2010-03-111-0/+1
| | | | Before we check for zip:foldl/3 make sure zip module is loaded.
* Update TODO fileTuncer Ayaz2010-03-081-2/+1
| | | | one item done, another one saved
* Add commands option to bash completionTuncer Ayaz2010-03-081-2/+2
| | | | Add -c/--commands option to the bash completion script.
* Add option to show available commandsTuncer Ayaz2010-03-081-29/+74
| | | | | Implement new option -c/--commands to print available commands and its variables.
* Add TODO fileTuncer Ayaz2010-03-061-0/+3
| | | | A TODO file is always a good idea.
* Add escript_foldl/3 TODOTuncer Ayaz2010-03-061-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 functionTuncer Ayaz2010-03-052-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 cebernardDave Smith2010-03-052-10/+240
|\
| * Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them.Chris Bernard2010-03-042-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 vagabondDave Smith2010-03-051-9/+46
|\ \
| * | Don't detect the source file as an include of itselfVagabond2010-03-021-7/+9
| | |
| * | Move the .erl sorting to the right placeVagabond2010-03-022-34/+37
| | |
| * | Fix dependancy checking for headers by ensuring "include" is always in the ↵Vagabond2010-03-021-1/+1
| | | | | | | | | | | | eep IncludePath
| * | Compile parse transform and custom behaviours firstVagabond2010-03-021-1/+33
| |/
* | Support for downloading deps via bzr.David Reid2010-03-051-1/+10
| |
* | Support downloading deps via SVN.David Reid2010-03-041-4/+11
|/
* Add install command target= var to bash completionTuncer Ayaz2010-02-271-2/+2
|
* Add missing mode setting in Emacs file variablesTuncer Ayaz2010-02-251-1/+1
|
* Fix unused var warningTuncer Ayaz2010-02-251-1/+1
|
* Refactor eunit and covertheiw2010-02-191-106/+93
|
* Adding cleaner module to permit users to specify their own set of files to ↵Dave Smith2010-02-212-1/+43
| | | | delete
* Fix bug in templater where escript was not found in subdirs were specified ↵Dave Smith2010-02-202-4/+11
| | | | in rebar.config; minor formatting cleanups
* Add support for installing to a target directory as alternative to Erlang ↵Dave Smith2010-02-201-2/+7
| | | | base dir
* Update comment for filelib:ensure_dir/1 wrapper.Tuncer Ayaz2010-02-171-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 Smith2010-02-161-2/+8
| | | | @sj_mackenzie
* Deal properly with env vars that have multiple = in the valueDave Smith2010-02-161-2/+2
|
* Overhaul env expansion so that rebar fully expands env refs prior to ↵Dave Smith2010-02-163-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" directiveDave Smith2010-02-143-4/+4
|
* Merging w/ http://bitbucket.org/bryan/rebarDave Smith2010-02-143-28/+61
|\
| * provide separate 'file' and 'template' directives, instead of one 'file' ↵Bryan Fink2010-02-133-33/+50
| | | | | | | | directive with a boolean Render flag
| * add chmod template directive for changing file file permissionBryan Fink2010-02-041-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 directiveBryan Fink2010-02-041-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 wellBryan Fink2010-02-041-2/+3
| |
* | Merging w/ mainlineDave Smith2010-02-134-10/+24
|\ \
| * | Break out arch string function; update ERLANG_TARGET to include bitness of ↵Dave Smith2010-02-122-4/+7
| | | | | | | | | | | | the Erlang target
| * | Make sure to cover all edge cases when parsing module namesDave Smith2010-02-121-6/+13
| | |
| * | Merging w/ mainlineDave Smith2010-02-122-3/+3
| |\ \
| | * | Add emacs and vim file local variablesTuncer Ayaz2010-02-111-2/+2
| | | |
| | * | I'm a moron. Make it a string.Ryan Tilder2010-02-101-1/+1
| | | |
| * | | Append wordsize to the architecture stringDave Smith2010-02-101-1/+2
| |/ /
| * | Adding new vars for scripts to determine architecture (32/64 bit) and target ↵Dave Smith2010-02-101-1/+3
| | | | | | | | | | | | platform of Erlang VM; courtesy of rtilder
| * | Add vim line; courtesy of rtilderDave Smith2010-02-101-0/+1
| | |
* | | Merging with OJ's branchDave Smith2010-02-139-3/+161
|\ \ \ | |/ / |/| |
| * | Added support for the speficiation of test suite namesOJ Reeves2010-02-032-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 Reeves2010-02-037-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 ↵theiw2010-02-056-49/+85
| | | | | | | | applications; begin including -spec annotations
* | Use init:stop/1 over halt/1 to ensure all I/O gets a chance to flushDave Smith2010-02-051-1/+1
|/
* Do not print dynamic escript name in usage infoTuncer Ayaz2010-02-021-1/+1
|
* Tweaking order of defaults so that -shared is default across platforms ↵Dave Smith2010-02-011-1/+1
| | | | unless explicitly overridden
* Removing useless debug message and extraneous newlineDave Smith2010-02-011-2/+0
|