diff options
author | Andrew Thompson <andrew@hijacked.us> | 2013-01-25 13:53:27 -0500 |
---|---|---|
committer | Andrew Thompson <andrew@hijacked.us> | 2013-01-30 16:43:29 -0500 |
commit | ee8919420de5088e02e0ed056ceae2b4a2088925 (patch) | |
tree | 544098fed63a5d5d554db395deabe72f8f80f194 /test/upgrade_project/rel/files/vm.args | |
parent | 78fa8fc3d5215e076284b37394e5ca149e945997 (diff) |
Support reading mustache 'lists' from files
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}}
Diffstat (limited to 'test/upgrade_project/rel/files/vm.args')
0 files changed, 0 insertions, 0 deletions