summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ASN.1 support (via Ruslan Babayev)Tuncer Ayaz2010-03-221-0/+69
| | | | | Add support for compiling ASN.1 files with asn1ct. Patch from Ruslan Babayev.
* Add get-deps and delete-deps to commands info and shell completionTuncer Ayaz2010-03-171-1/+4
| | | | | Add get-deps and delete-deps to commands info string and bash completion script.
* Merging w/ mainlineDave Smith2010-03-163-32/+111
|\
| * Make sure zip module is loadedTuncer Ayaz2010-03-111-0/+1
| | | | | | | | Before we check for zip:foldl/3 make sure zip module is loaded.
| * Add option to show available commandsTuncer Ayaz2010-03-081-29/+74
| | | | | | | | | | Implement new option -c/--commands to print available commands and its variables.
| * 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.
* | Revamp deps system to NOT pull down deps automatically. You must now use ↵Dave Smith2010-03-162-73/+113
| | | | | | | | pull-deps explicitly
* | Removing overly verbose debug message (yes, I realize the irony)Dave Smith2010-03-161-1/+0
|/
* Merging eunit fixes + some UNIT TESTS!! from cebernardDave Smith2010-03-051-10/+11
|\
| * Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them.Chris Bernard2010-03-041-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|/
* 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-211-0/+40
| | | | 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-162-24/+85
| | | | 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.
* Merging w/ http://bitbucket.org/bryan/rebarDave Smith2010-02-141-23/+56
|\
| * provide separate 'file' and 'template' directives, instead of one 'file' ↵Bryan Fink2010-02-131-28/+45
| | | | | | | | 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-133-9/+22
|\ \
| * | 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-121-1/+1
| |\ \
| | * | 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
* | | Merging with OJ's branchDave Smith2010-02-131-3/+36
|\ \ \ | |/ / |/| |
| * | Added support for the speficiation of test suite namesOJ Reeves2010-02-031-4/+35
| |/ | | | | | | | | | | | | 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).
* | Provide package support for eunit; build_plt now includes listed ↵theiw2010-02-056-49/+85
|/ | | | applications; begin including -spec annotations
* 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
|
* Add support for passing addt'l list of sources to erlc_compilerDave Smith2010-02-011-4/+9
|
* Add support for forcibly overwriting output files; courtesy of OJ ReevesDave Smith2010-01-301-17/+40
|
* Fix typo; courtesy of OJ ReevesDave Smith2010-01-301-1/+1
|
* Merging support from asonge for custom_tags_dirDave Smith2010-01-291-1/+3
|\
| * Added support for custom_tags_dir compile option to rebar_erlydtl_compilerAlex Songe2010-01-161-1/+3
| |