summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #41 from exterm/cover_html_validityDave Smith2013-06-251-2/+5
|\ \ | | | | | | change cover html generation to produce valid html
| * | remove superfluous string concat operator usagePhilip Mueller2013-06-161-3/+3
| | |
| * | break overlong linePhilip Mueller2013-01-301-1/+2
| | |
| * | change cover html generation to produce valid htmlPhilip Mueller2012-12-121-2/+4
| | | | | | | | | | | | | | | | | | - added missing doctype - added encoding statement - removed invalid additional opening <body> tag
* | | rebar_xref: regression fixes and updates for a5be40c96Tuncer Ayaz2013-06-241-58/+78
| | | | | | | | | | | | | | | | | | | | | | | | - restore support for "rebar help xref" - update rebar.config.sample - update 'help xref' string - simplify new/changed functions by breaking out code or using simpler syntax where applicable
* | | rebar_core: fix consistency issues caused by 252b31fTuncer Ayaz2013-06-241-16/+22
| | | | | | | | | | | | | | | | | | | | | - refactor plugin dirs code to be simpler and easier to read - use erlang-mode's default (%%) comments for portability/consistency - make sure erlang-mode's indenter is used so that a future whole buffer indent doesn't get messed up
* | | rebar_ct: fix Dialyzer warning caused by bcc57e9bTuncer Ayaz2013-06-241-4/+10
| | | | | | | | | | | | Also fix a single line exceeding max column.
* | | Fix crsh with Unicode in environment varsDave Thomas2013-06-231-2/+2
| | |
* | | Fix crash when env vars contain utf8 charsDave Thomas2013-06-221-3/+3
| | |
* | | Add one more "unicode" option in expand_env_variable—I have a bullet in my ↵Dave Thomas2013-06-211-1/+1
| | | | | | | | | | | | prompt that was blowing it up
* | | When expanding lib_dirs, don't crash with 'volumerelative' pathsJuan Jose Comellas2013-06-181-1/+1
| | |
* | | Allow the use of absolute paths in the lib_dirs configuration settingJuan Jose Comellas2013-06-181-1/+4
| | |
* | | Merge branch 'xref_20130130' of git://github.com/spilgames/rebar into spg-xrefDave Smith2013-06-171-84/+112
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/rebar_xref.erl
| * | | Add standard xref checks and improved suppressionDennis Docter2013-01-301-65/+112
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow the following predefined analyses : undefined_function_calls, undefined_functions, locals_not_used, exports_not_used, deprecated_function_calls, deprecated_functions * Trap some possible errors in case module information is not available * ignore_xref works on all checks and can take {M,F,A} tuples. (Automatic behaviour export suppression still only works on exports_not_used)
* | | Merge pull request #47 from uwiger/masterDave Smith2013-06-171-1/+2
|\ \ \ | | | | | | | | rebar_eunit:reset_after_eunit/1 mustn't remove 'included_applications'
| * | | rebar_eunit:reset_after_eunit/1 mustn't remove 'included_applications'Ulf Wiger2012-12-161-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One could argue that rebar_eunit does some pretty dangerous stuff when trying to clean up after a test run, but specifically, it tells the Application Controller to delete everything returned by application:get_all_env(App). Unfortunately, included_applications also goes, which can lead to a crash in application_controller, if the application is subsequently unloaded. This patch attempts the smallest possible fix: remove all env variables except included_applications.
* | | External deps_dir should have higher priority than the config oneJosé Valim2013-06-181-2/+3
| | | | | | | | | | | | | | | | | | | | | The external deps_dir should have higher priority because it is used by scripts and other build tools to set up the location of the dependencies. This commit ensures that, even if a project has set deps_dir in its config file has lower preference than the command line one.
* | | Merge pull request #60 from jcomellas/jc-getopt-0.7.0Dave Smith2013-06-161-156/+377
|\ \ \ | | | | | | | | Add latest version getopt that automatically wraps usage output lines
| * | | Add latest version getopt that automatically wraps usage output linesJuan Jose Comellas2013-01-251-156/+377
| | | |
* | | | Merge pull request #44 from nevar/fix_neotomaDave Smith2013-06-161-2/+2
|\ \ \ \ | | | | | | | | | | Correct ext of neotoma output file
| * | | | Correct ext of neotoma output fileSlava Yurin2012-12-311-2/+2
| |/ / /
* | | | Merge pull request #37 from nox/force-registeredDave Smith2013-06-161-1/+14
|\ \ \ \ | | | | | | | | | | Ensure we always have a `registered` value in `.app` files
| * | | | Ensure we always have a `registered` value in `.app` filesAnthony Ramine2012-12-071-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | `systools:make_relup/4` fails with `{missing_param, registered}` without a `registered` value.
* | | | | Merge pull request #24 from legoscia/masterDave Smith2013-06-161-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Allow specifying eunit suite run order in 'suites'
| * | | | | Run eunit suites in the order specified in the 'suites' command line parameterMagnus Henoch2012-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normally, Rebar runs eunit tests in the order the beam files are stored in the file system (see rebar_utils:beams). However, sometimes it is desirable to run the tests in a different order (e.g. to reproduce an error found on a build server). For that case, it would make sense to use the 'suites' parameter not just for selecting which modules to consider, but also for choosing the order.
* | | | | | Merge pull request #74 from DeadZen/dz-merged-overlayDave Smith2013-06-141-8/+18
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | Implement merged overlays
| * | | | | Implement merged overlaysPedram Nimreezi2013-03-261-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | This allows overlay_vars to merge comma delimited var config files
* | | | | | Merge pull request #75 from rpt/masterDave Smith2013-06-121-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Support for QuickCheck Mini
| * | | | | | Add support for QuickCheck MiniKrzysztof Rutka2013-03-251-0/+1
| |/ / / / /
* | | | | | Merge pull request #90 from Motiejus/dep_pluginDave Smith2013-05-211-17/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix searching for plugins
| * | | | | | Fix searching for pluginsMotiejus Jakštys2013-05-191-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a plugin is in a dependency, rebar didn't search for it carefully enough.
* | | | | | | Merge branch 'master' of git://github.com/ferd/rebar into ferd-masterDave Smith2013-05-151-4/+22
|\ \ \ \ \ \ \
| * | | | | | | Handle ct_run exit codes in R15B02 and laterFred Hebert2013-04-181-4/+22
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since R15B02, ct_run returns a non-zero exit code when some tests failed or were auto-skipped. (See ticket OTP-9865.) This fix makes it so a non-0 code doesn't cause an instant failure, but still prompts for log verification before doing so. Given the behaviour was acceptable for pre-R15B02, it should be valid with it with post-R15B02. The fix should also be backwards compatible.
* | | | | | | Add rebar-deps env to port compiler SharedEnvJeremie Lasalle Ratelle2013-05-061-1/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | REBAR_DEPS_DIR is often needed when a nif needs to be linked with a raw dependency.
* | | | | | More error loggingmats cronqvist2013-04-121-0/+2
|/ / / / / | | | | | | | | | | rebar throws away some error messages, e.g. the ones generated if the yecc compiler is broken.
* | | | | Merge pull request #68 from nevar/fix_unicode_promtDave Smith2013-03-041-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix unicode
| * | | | | Fix handling of Unicode characters in env varsSlava Yurin2013-02-181-1/+1
| | |_|/ / | |/| | |
* | | | | Fix missing call to cwd_predirsDave Smith2013-03-021-2/+2
| | | | |
* | | | | Merge pull request #38 from tuncer/fix-sub_dir-associationDave Smith2013-03-021-24/+24
|\ \ \ \ \ | | | | | | | | | | | | rebar_core: fix sub dir association
| * | | | | rebar_core: fix broken indentationTuncer Ayaz2013-02-261-6/+6
| | | | | |
| * | | | | rebar_core: remove useless return after ?ABORT callTuncer Ayaz2013-02-261-2/+1
| | | | | |
| * | | | | rebar_core: document pre-dirs associationTuncer Ayaz2013-02-261-16/+17
| | | | | |
* | | | | | Update rebar repo urlsTuncer Ayaz2013-03-021-2/+2
|/ / / / /
* | | | | Merge pull request #59 from Vagabond/adt-read-lists-from-filesDave Smith2013-02-261-7/+17
|\ \ \ \ \ | | | | | | | | | | | | Support reading mustache 'lists' from files
| * | | | | Support reading mustache 'lists' from filesAndrew Thompson2013-01-301-7/+17
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit add support for reading mustache 'lists' from files, so you can use the list section functionality when templating things. An example of the list syntax is as follows: {package_commands, {list, [[{name, "riak"}], [{name, "riak-admin"}], [{name, "search-cmd"}]]}}. Then you can, for each of the list elements, render some text: {{#package_commands}} chmod +x bin/{{name}} {{/package_commands}}
* | | | | Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msgTuncer Ayaz2012-12-3125-30/+567
|/ / / / | | | | | | | | | | | | | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message
* | | | Merge branch 'saleyn-erlydtl'Dave Smith2012-12-171-1/+1
|\ \ \ \
| * | | | Fix default DTL compilation when no erlydtl_opts are providedserge2012-11-151-1/+1
| | | | |
* | | | | Fix basho/rebar/issues/286Tuncer Ayaz2012-12-171-1/+0
| |_|_|/ |/| | |
* | | | Merge pull request #26 from l4u/patch-1Dave Smith2012-12-021-3/+3
|\ \ \ \ | |_|_|/ |/| | | Support environment vars with unicode characters