Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use bbmustache package | Tristan Sloughter | 2015-06-21 | 1 | -1/+1 |
| | |||||
* | update mustache to v0.3.0 and relx to 2.0.0 | Tristan Sloughter | 2015-05-08 | 1 | -1/+1 |
| | |||||
* | use mustache as a dep | Tristan Sloughter | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | switch mustache imlementation to https://github.com/soranoba/mustache | Tristan Sloughter | 2015-05-05 | 1 | -5/+1 |
| | |||||
* | remove use of erlydtl in rebar | Tristan Sloughter | 2015-04-29 | 1 | -57/+24 |
| | |||||
* | support templates even when not run as escript | Tristan Sloughter | 2015-04-24 | 1 | -7/+25 |
| | |||||
* | support for 18.0+ | Tristan Sloughter | 2015-04-23 | 1 | -1/+1 |
| | |||||
* | update hg username and email match in templates | Tristan Sloughter | 2015-03-17 | 1 | -1/+1 |
| | |||||
* | fix debug format to avoid crash with custom template | Mariano Guerra | 2015-03-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | error before: ===> Uncaught error: {'EXIT', {badarg, [{io,format, [<0.23.0>, "\e[0;36m===> Skipping template ~p, due to presence of a custom template at ~s~n~n\e[0m", ["/home/mariano/.config/rebar3/templates/fn_app/fn_app.template"]], []}, {rebar_templater,prioritize_templates,2, [{file,"src/rebar_templater.erl"},{line,330}]}, {rebar_templater,find_templates,1, [{file,"src/rebar_templater.erl"},{line,274}]}, {rebar_templater,new,4, [{file,"src/rebar_templater.erl"},{line,47}]}, {rebar_prv_new,do,1, [{file,"src/rebar_prv_new.erl"},{line,44}]}, {rebar_core,do,2, [{file,"src/rebar_core.erl"},{line,129}]}, {rebar3,main,1, [{file,"src/rebar3.erl"},{line,46}]}, {escript,run,2, [{file,"escript.erl"},{line,752}]}]}} | ||||
* | templater: return error, don't throw, if git or hg fail | Tristan Sloughter | 2015-03-08 | 1 | -3/+3 |
| | |||||
* | use git or hg configs if exist for default user and email in templates | Tristan Sloughter | 2015-03-05 | 1 | -2/+29 |
| | |||||
* | follow xdg standard. fixes #122 | Tristan Sloughter | 2015-02-19 | 1 | -13/+11 |
| | |||||
* | Add support for custom templates in subdirectories | Fred Hebert | 2014-12-23 | 1 | -1/+1 |
| | | | | - Includes tests for templates and their application | ||||
* | don't store global state variables in opts dict | Tristan Sloughter | 2014-12-06 | 1 | -1/+1 |
| | |||||
* | move dir functions from utils to new module rebar_dir | Tristan Sloughter | 2014-12-01 | 1 | -2/+2 |
| | |||||
* | Drop search for templates in cwd | Fred Hebert | 2014-11-23 | 1 | -2/+1 |
| | | | | | | | | | | | | Templates should only be in ~/.rebar3/templates and the built-in ones, bar some specific overrides someone may want. Looking recursively for templates in the CWD (.) may end up searching nearly forever if the project is being created at the top of a very deep directory tree, with extremely unlikely chances to find relevant templates. It causes more problems than benefits. | ||||
* | Minor template fixes | Fred Hebert | 2014-11-14 | 1 | -1/+1 |
| | | | | | | - The OTP app template now adds the supevisor - The default apps_dir value does not contain the trailing '/' that the template index already added. | ||||
* | use CONFIG_DIR of rebar3 for config directories | Tristan Sloughter | 2014-11-10 | 1 | -4/+4 |
| | |||||
* | Allow to forcibly overwrite files with templates | Fred Hebert | 2014-11-11 | 1 | -24/+24 |
| | |||||
* | Redo templates with docs and whatnot | Fred Hebert | 2014-11-10 | 1 | -286/+197 |
| | | | | | This totally breaks compatibility with rebar2, and maybe it shouldn't have. | ||||
* | handle throw by relx | Tristan Sloughter | 2014-11-08 | 1 | -5/+5 |
| | |||||
* | down to last 2 dialyzer errors | Tristan Sloughter | 2014-09-21 | 1 | -1/+1 |
| | |||||
* | more dialyzer fun. no likey opaque types | Tristan Sloughter | 2014-09-21 | 1 | -1/+1 |
| | |||||
* | add plugin template | Tristan Sloughter | 2014-09-20 | 1 | -0/+2 |
| | |||||
* | wip: move to erlydtl for rebar templates | Tristan Sloughter | 2014-09-17 | 1 | -16/+30 |
| | |||||
* | update templating | Tristan Sloughter | 2014-09-16 | 1 | -13/+14 |
| | |||||
* | use INFO instead of CONSOLE in templater | Tristan Sloughter | 2014-08-24 | 1 | -3/+3 |
| | |||||
* | add some templates | Tristan Sloughter | 2014-08-24 | 1 | -5/+4 |
| | |||||
* | rename deps provider | Tristan Sloughter | 2014-08-23 | 1 | -31/+31 |
| | |||||
* | allow new project dir for template | Tristan Sloughter | 2014-08-23 | 1 | -9/+11 |
| | |||||
* | add back templating | Tristan Sloughter | 2014-08-23 | 1 | -54/+17 |
| | |||||
* | Fix OS X resource fork handling (Reported-by: Richard O'Keefe) | Tuncer Ayaz | 2014-07-25 | 1 | -1/+1 |
| | | | | | | | | | If you happen to fetch a zip archive of the git repo and try to build from that, you may, for example, ask erlc to build src/._rebar.erl. ._* are OS X resource forks and not real .erl files. This may also happen with network filesystems on OS X. To fix that, limit the files compiled by rebar to include only those which start with a letter or a digit. | ||||
* | Merge pull request #195 from fgallaire/switch_template_instructions | Tristan Sloughter | 2014-06-14 | 1 | -0/+12 |
|\ | | | | | Switch template instructions | ||||
| * | A switch variable can have multiple values | Florent Gallaire | 2013-12-11 | 1 | -3/+4 |
| | | |||||
| * | Support switch template instructions | Florent Gallaire | 2013-12-11 | 1 | -0/+11 |
| | | |||||
* | | Fix #226 | Tuncer Ayaz | 2014-03-11 | 1 | -1/+2 |
| | | | | | | | | | | | | Running 'rebar list-templates' can take quite a long time, when it has to search the file system. To fix that, make list-templates not recurse by default. To enable recursion, run 'rebar -r list-templates'. | ||||
* | | Fix #187 (rename mustache to rebar_mustache) | Tuncer Ayaz | 2014-01-01 | 1 | -1/+1 |
| | | |||||
* | | Add a library template | Pierre Fenoll | 2013-12-19 | 1 | -0/+11 |
|/ | |||||
* | Support conditional template instructions | Evax Software | 2013-09-19 | 1 | -0/+21 |
| | |||||
* | Merge pull request #59 from Vagabond/adt-read-lists-from-files | Dave Smith | 2013-02-26 | 1 | -7/+17 |
|\ | | | | | Support reading mustache 'lists' from files | ||||
| * | Support reading mustache 'lists' from files | Andrew Thompson | 2013-01-30 | 1 | -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' msg | Tuncer Ayaz | 2012-12-31 | 1 | -0/+24 |
|/ | | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message | ||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -31/+32 |
| | |||||
* | Do not use rebar_config:set_global in rebar_templater | Tuncer Ayaz | 2012-07-13 | 1 | -38/+34 |
| | |||||
* | Do not use process dict in rebar_templater | Tuncer Ayaz | 2012-07-13 | 1 | -59/+61 |
| | |||||
* | Use lists:foreach because result is ignored | Tuncer Ayaz | 2012-06-30 | 1 | -10/+11 |
| | |||||
* | Decrease indentation in list-templates printout | Tuncer Ayaz | 2012-06-30 | 1 | -1/+1 |
| | |||||
* | Fix crash introduced in 4414f65 via pull/245 | Tuncer Ayaz | 2012-06-30 | 1 | -2/+2 |
| | |||||
* | rebar_templater: fix comment | Tuncer Ayaz | 2012-06-30 | 1 | -1/+1 |
| | |||||
* | Fix whitespace errors | Tuncer Ayaz | 2012-06-11 | 1 | -3/+5 |
| |