mirror of https://github.com/embarklabs/embark.git
13 lines
339 B
JavaScript
13 lines
339 B
JavaScript
var Haml = require('haml');
|
|
|
|
module.exports = function(embark) {
|
|
embark.registerServiceCheck('PluginService', function(cb) {
|
|
cb({name: "ServiceName", status: "on"});
|
|
});
|
|
|
|
embark.registerPipeline((embark.pluginConfig.files || ['**/*.haml']), function(opts) {
|
|
var source = opts.source;
|
|
return Haml.render(source);
|
|
});
|
|
};
|