chore(build): Migrate remaining tasks under build.js.dev to broccoli.

This commit is contained in:
Alex Eagle
2015-04-08 08:28:12 -07:00
parent cfc5dd830c
commit b94b04c074
11 changed files with 161 additions and 12 deletions

View File

@ -0,0 +1,10 @@
var fs = require('fs');
var path = require('path');
module.exports = read;
function read(file) {
var content = fs.readFileSync(path.join(__dirname, file + '.html'), {encoding: 'utf-8'});
// TODO(broccoli): we don't really need this, it's here to make the output match the tools/build/html
return content.substring(0, content.lastIndexOf("\n"));
}