summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | Support environment vars with unicode charactersJosé Valim2012-11-221-3/+3
| |/ | | | | | | | | | | | | The results returned by os:getenv() may contain unicode characters. That said, we need to explicitly allow unicode when splitting the environment information, otherwise badarg will be raised causing all rebar commands to fail until the environment variable is removed.
* | Merge pull request #13 from tuncer/fixesDave Smith2012-11-236-35/+33
|\ \ | | | | | | Fixes
| * | Document escriptize commandTuncer Ayaz2012-11-191-3/+6
| | |
| * | rebar_ct: fix wording in commentsTuncer Ayaz2012-11-181-5/+5
| | |
| * | rebar_require_vsn: remove trailing whitespaceTuncer Ayaz2012-11-181-5/+5
| | |
| * | rebar_neotoma_compiler: fix commentTuncer Ayaz2012-11-181-1/+1
| | |
| * | Cleanup rebar_core and rebar_erlc_compilerTuncer Ayaz2012-11-152-21/+16
| | | | | | | | | | | | | | | Rename rebar_core functions for improved readability. Remove redundant comments and blank lines.
* | | Add missing rebar_qc:clean/2Joseph Wayne Norton2012-11-231-1/+4
|/ /
* | rebar_erlc_compiler: fix src_dirs commentTuncer Ayaz2012-11-151-1/+1
| |
* | Merge branch 'ates-diameter'Dave Smith2012-11-121-0/+86
|\ \ | |/ |/|
| * Add support to compile the Diameter dictionary filesArtem Teslenko2012-11-121-0/+86
| |
* | Be sure to filter empty sources (h/t to Tuncer and Joe Norton)Dave Smith2012-11-121-10/+11
| |
* | Restore support for so_name, port_envs and port_sourcesDave Smith2012-11-111-10/+41
|/
* Fix Dialyzer warning in rebar:run/2Tuncer Ayaz2012-11-111-1/+1
|
* rebar_erlydtl_compiler: fix incorrect lists:keysort/2 callTuncer Ayaz2012-11-111-1/+1
|
* Merge pull request #328 from saleyn/depcheckDave Smith2012-11-101-2/+2
|\ | | | | Fix erlydtl dependency check
| * Fix erlydtl dependency checkSerge Aleynikov2012-10-251-2/+2
| | | | | | | | | | | | | | | | When a DTL template includes other template files, those files don't need to be compiled separately, and therefore can be given an extension different from `source_ext` (such as `.dtli`) to avoid being compiled. This fix allows rebar to find included dependencies with names `*.dtl*` rather than `*.dtl` and properly determine if a template file needs to be recompiled.
* | Merge pull request #327 from saleyn/erlydtl_compilerDave Smith2012-11-102-26/+81
|\ \ | | | | | | Erlydtl compiler
| * | Made more readable printout of the erlydtl compiler messageSerge Aleynikov2012-10-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The printed message is made more terse. Example before applying patch: ERROR: Compiling template src/view/test.dtl failed: {error,{"src/view/test.dtl", [{{4,7}, erlydtl_parser, ["syntax error before: ",["\"\\\"HELLO_WORLD\\\"\""]]}]}} Example after applying patch: ERROR: Compiling template "src/cmp_html_error_template.dtl" failed: (line:3, col:12): ["syntax error before: ",["trans"]]
| * | Specify multiple locations of DTL template filesSerge Aleynikov2012-10-222-26/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a backward compartible feature to specify `erlydtl_opts' options for the DTL template compiler to allow inclusion of templates in different directories with different compilation settings for each. E.g.: {erlydtl_opts, [ [{doc_root, "src/view"}, {module_ext, "_dtl_vw"}] , [{doc_root, "src"}, {module_ext, ""}, {recursive, false}] , {out_dir, "ebin"} , {compiler_options, [verbose, debug_info]} ]}. The definition above is identical to this (the last two options are duplicated in each list): {erlydtl_opts, [ [{doc_root, "src/view"} ,{module_ext, "_dtl_vw"} ,{out_dir, "ebin"} ,{compiler_options, [verbose, debug_info]}] , [{doc_root, "src"} ,{module_ext, ""} ,{out_dir, "ebin"} ,{compiler_options, [verbose, debug_info]} ,{recursive, false}] ]}. In this case "src/view" and "src" directories containing template files will be compiled. A new `recursive' option tells rebar_erlydtl_compiler to search files recursively from a given doc_root. In the example above the "src" directory won't be scanned recursively, and the target template name for target beam modules won't have "_dtl_vw" suffix.
* | | Expose Erlang API for invoking rebarDave Smith2012-11-061-0/+7
| | |
* | | Add comment to explain why we're using sub_dirs by handDave Smith2012-11-051-0/+5
| | |
* | | Add all subdirs to xref library pathDaniel Luna2012-11-051-4/+7
| | |
* | | Add email address to my nameDaniel Luna2012-11-051-1/+2
| | |
* | | Merge pull request #293 from Motiejus/skip_depsDave Smith2012-10-311-8/+20
|\ \ \ | | | | | | | | | | | | | | | | Add skip_deps=AppListSeparatedByCommas feature. I agree it's a bit of a weird thing, but it's a reasonable and safe extension. When time comes to properly overhaul stuff, skip_deps should disappear entirely.