Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | List substitution variable names in 'list-templates' command. | hirschen | 2012-06-11 | 1 | -1/+5 |
| | |||||
* | Fix typos in rebar_templater | Jesse Gumm | 2012-02-17 | 1 | -2/+2 |
| | |||||
* | Use same variable names as file:make_link/2 | Tuncer Ayaz | 2011-10-21 | 1 | -3/+3 |
| | |||||
* | Add possibility to make symbolic links | Przemysław Dąbek | 2011-10-20 | 1 | -0/+10 |
| | | | | Simple feature, useful to make link to something without copying it. | ||||
* | Fix error handling bug in {copy,In,Out} template | Tuncer Ayaz | 2011-07-18 | 1 | -4/+4 |
| | |||||
* | Use filename:join/1 | Tuncer Ayaz | 2011-07-18 | 1 | -2/+2 |
| | |||||
* | Add support for {copy, src, dst} to templater | cloudhead | 2011-07-08 | 1 | -0/+11 |
| | |||||
* | Centralize variable resolution; add target_dir variable | Dave Smith | 2011-04-10 | 1 | -21/+27 |
| | |||||
* | Add support for loading template vars from external file | Dave Smith | 2011-04-10 | 1 | -3/+19 |
| | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -35/+52 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Simplify and cleanup rebar_templater | Tuncer Ayaz | 2011-01-13 | 1 | -10/+11 |
| | |||||
* | Fix file existence checks | Tuncer Ayaz | 2011-01-13 | 1 | -1/+1 |
| | |||||
* | Fix code clarity | Tuncer Ayaz | 2011-01-13 | 1 | -3/+3 |
| | |||||
* | Support single level of nested template variables | David Reid | 2010-12-22 | 1 | -3/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for defining template variables of the following form: {variables, [{appid, "mochiwebapp"}, {author, "Mochi Media <dev@mochimedia.com>"}, {year, "2010"}, {version, "0.1"}, {port, 8080}, {dest, "{{appid}}"}]}. Where dest may be overridden on the commandline but will default to being the appid. Mochiweb uses this so that we can create new projects from the template in a configurable directory. So $ rebar create template=mochiwebapp dest=foo appid=bar I thought about special casing dest but figured it might be generally useful to be able to nest template vars. However this patch only does one level of resolution. So if {variables, [{foo, "{{bar}}"}, {bar, "{{foo}}"}]}. then bar will end up being the literal string {{bar}} and foo the literal string {{foo}}. | ||||
* | Tidier improvements | Kostis Sagonas | 2010-10-26 | 1 | -4/+4 |
| | |||||
* | Dialyzer related cleanups | Kostis Sagonas | 2010-10-10 | 1 | -3/+5 |
| | |||||
* | Add support for specifying template directory on the command line | Dave Smith | 2010-08-28 | 1 | -1/+10 |
| | |||||
* | Fix bug 438; add support for listing available templates | Dave Smith | 2010-08-20 | 1 | -0/+15 |
| | |||||
* | Add forward-compatible escript_foldl function | Tuncer Ayaz | 2010-03-05 | 1 | -2/+5 |
| | | | | | | escript:foldl/3 was undocumented and has been replaced with better APIs post-R13B04. The new exported funs are officially documented. | ||||
* | Fix bug in templater where escript was not found in subdirs were specified ↵ | Dave Smith | 2010-02-20 | 1 | -4/+6 |
| | | | | in rebar.config; minor formatting cleanups | ||||
* | 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 |
| | |||||
* | Add support for forcibly overwriting output files; courtesy of OJ Reeves | Dave Smith | 2010-01-30 | 1 | -17/+40 |
| | |||||
* | Adding sketch of functionality for creating a reltool node from template | Dave Smith | 2010-01-08 | 1 | -0/+6 |
| | |||||
* | Basic implementation of templater is complete | Dave Smith | 2010-01-08 | 1 | -8/+186 |
| | |||||
* | Sketching out templating system | Dave Smith | 2010-01-07 | 1 | -0/+51 |