apeman-tmpl-ci
apeman template of ci files.
Installation
$ npm install apeman-tmpl-ci --save-dev
Usage
- Define a tmpl within Apemanfile.js
- Remteder templates via apeman tmpl command.
Apemanfile.js
/** This example Apemanfile to use apeman-tmpl-ci */
"use strict";
module.exports = {
$pkg: {/*...*/},
$tmpls: {
// Map file path and template.
'ci/build.js': require('apeman-tmpl-ci')({
cmd: 'task',
args: 'build'
})
}
};
Then,
$ apeman tmpl
Params
Key | Description |
---|---|
cmd | Name of apeman command. |
args | Command arguments |
License
This software is released under the MIT License.