apeman-tmpl
Version:
Template manager for apeman.
22 lines (21 loc) • 485 B
JavaScript
// This is example for child Apemanfile.js
exports.$cwd = __dirname + '/../../tmp/mock-project01/child01'
exports.$tmpls = {
'foo/bar/baz.txt2': {
force: true,
mode: '444',
tmpl: '<h1>{ {name} }</h1>',
data: {
"name": "This is name."
}
},
'foo/bar/baz.txt3': {
force: true,
mode: '444',
tmpl: '<h1>{{name}}</h1>',
data: {
"name": "This is name."
}
}
}