Removing gulp JS build scripting

This commit is contained in:
Jeff Avallone
2016-10-15 12:20:01 -04:00
parent c55adb13d9
commit a8a76651c2
3 changed files with 2 additions and 46 deletions
-24
View File
@@ -1,24 +0,0 @@
var through = require('through'),
canopy = require('canopy');
module.exports = function(file) {
var data = '';
if (!/\.peg$/.test(file)) {
return through();
}
return through(
function(buf) {
data += buf;
},
function() {
try {
this.queue(String(canopy.compile(data)));
} catch(err) {
this.emit('error', err);
}
this.queue(null);
}
);
};