summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make sure to add ebin/ to the code path as well so that xref can properly ↵Dave Smith2010-04-231-2/+9
| | | | determine source/line of code.
* Verify that we work with minimal git of 1.5Dave Smith2010-04-191-1/+1
|
* Merging w/ mainlineDave Smith2010-04-171-25/+30
|\
| * Document xref commandTuncer Ayaz2010-04-151-25/+30
| | | | | | | | | | Also add a sleep after printing so that the io server has written all output before exiting. It's a work around.
* | Add simple warning if no modules are interested in handling a command for a ↵Dave Smith2010-04-171-0/+3
| | | | | | | | given directory
* | Make sure to add .eunit as an absolute directory so that we avoid weirdness ↵Dave Smith2010-04-161-1/+5
|/ | | | with code loading stuffs.
* Tested mercurial checkout down to 1.1Dave Smith2010-04-141-1/+1
|
* Support older, more deployed version of mercurialDave Smith2010-04-141-3/+3
|
* Merging w/ mainlineDave Smith2010-04-092-0/+48
|\
| * clean up .yrl and .xrl handlingBryan Fink2010-03-311-22/+21
| |
| * add leex .xrl handling as wellBryan Fink2010-03-311-12/+25
| |
| * add handling for yecc's .yrl files to erlc compilerBryan Fink2010-03-311-0/+35
| |
| * Add check-deps to shell completion and commands infoTuncer Ayaz2010-03-261-0/+1
| |
* | Add stub for xref support; not yet doneDave Smith2010-04-091-0/+184
|/
* Adding check-deps and helper target for compilationDave Smith2010-03-251-0/+19
|
* 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
| | |