Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merging eunit fixes + some UNIT TESTS!! from cebernard | Dave Smith | 2010-03-05 | 1 | -10/+11 | |
|\ | ||||||
| * | Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them. | Chris Bernard | 2010-03-04 | 1 | -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 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 | |
|/ | ||||||
* | 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 | 1 | -0/+40 | |
| | | | | 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 | 2 | -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/rebar | Dave Smith | 2010-02-14 | 1 | -23/+56 | |
|\ | ||||||
| * | provide separate 'file' and 'template' directives, instead of one 'file' ↵ | Bryan Fink | 2010-02-13 | 1 | -28/+45 | |
| | | | | | | | | 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 | 3 | -9/+22 | |
|\ \ | ||||||
| * | | 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 | 1 | -1/+1 | |
| |\ \ | ||||||
| | * | | 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 | |||||
* | | | Merging with OJ's branch | Dave Smith | 2010-02-13 | 1 | -3/+36 | |
|\ \ \ | |/ / |/| | | ||||||
| * | | Added support for the speficiation of test suite names | OJ Reeves | 2010-02-03 | 1 | -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 ↵ | theiw | 2010-02-05 | 6 | -49/+85 | |
|/ | | | | applications; begin including -spec annotations | |||||
* | 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 | |
| | ||||||
* | Add support for passing addt'l list of sources to erlc_compiler | Dave Smith | 2010-02-01 | 1 | -4/+9 | |
| | ||||||
* | Add support for forcibly overwriting output files; courtesy of OJ Reeves | Dave Smith | 2010-01-30 | 1 | -17/+40 | |
| | ||||||
* | Fix typo; courtesy of OJ Reeves | Dave Smith | 2010-01-30 | 1 | -1/+1 | |
| | ||||||
* | Merging support from asonge for custom_tags_dir | Dave Smith | 2010-01-29 | 1 | -1/+3 | |
|\ | ||||||
| * | Added support for custom_tags_dir compile option to rebar_erlydtl_compiler | Alex Songe | 2010-01-16 | 1 | -1/+3 | |
| | | ||||||
* | | Tweak support for controlling so_name | Dave Smith | 2010-01-26 | 1 | -2/+2 | |
|/ | ||||||
* | Look for dirs named erts-vsn when setting up spec for copying files | Dave Smith | 2010-01-14 | 1 | -1/+7 | |
| | ||||||
* | Try previous commit again; make sure include/ directory exists | Dave Smith | 2010-01-14 | 1 | -1/+1 | |
| | ||||||
* | Make sure include/ directory exists | Dave Smith | 2010-01-14 | 1 | -1/+3 | |
| | ||||||
* | Merging mainline | Dave Smith | 2010-01-09 | 4 | -56/+130 | |
|\ | ||||||
| * | Simplified usage info printing with getopt v0.2 | Tuncer Ayaz | 2010-01-09 | 2 | -54/+108 | |
| | | ||||||
| * | Fixed issue 1 "priv/mibs/ is not automatically created" | Tuncer Ayaz | 2010-01-08 | 2 | -2/+22 | |
| | | ||||||
* | | [mq]: eunit-fix | OJ Reeves | 2010-01-09 | 1 | -1/+1 | |
|/ | ||||||
* | Adding sketch of functionality for creating a reltool node from template | Dave Smith | 2010-01-08 | 1 | -0/+6 | |
| |