diff --git a/lib/compiler.js b/lib/compiler.js index 156fbbd4d..c89fbbe50 100644 --- a/lib/compiler.js +++ b/lib/compiler.js @@ -45,7 +45,6 @@ Compiler.prototype.compile_contracts = function(contractFiles) { Compiler.prototype.compile_solidity = function(contractFiles) { var input = {}; - // TODO: need to match only the .sol files for (var i = 0; i < contractFiles.length; i++){ // TODO: this depends on the config var filename = contractFiles[i].filename.replace('app/contracts/',''); diff --git a/lib/pipeline.js b/lib/pipeline.js index a290d1618..517208ae4 100644 --- a/lib/pipeline.js +++ b/lib/pipeline.js @@ -22,7 +22,6 @@ Pipeline.prototype.build = function(abi) { if (file.filename === 'embark.js') { return {content: file.content + "\n" + abi, filename: file.filename, path: file.path, modified: true}; } else if (['web3.js', 'ipfs.js', 'ipfs-api.js', 'orbit.js'].indexOf(file.filename) >= 0) { - //return file.content; file.modified = true; return file; } else { @@ -42,7 +41,6 @@ Pipeline.prototype.build = function(abi) { }); } - //return file.content; return file; } }); diff --git a/lib/plugin.js b/lib/plugin.js index 79c3a24b3..c0e1147fe 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -144,10 +144,8 @@ Plugin.prototype.runFilePipeline = function() { }; Plugin.prototype.runPipeline = function(args) { - // TODO: should iterate the pipeliens + // TODO: should iterate the pipelines var pipeline = this.pipeline[0]; - //var shouldRunPipeline = pipeline.matcthingFiles.some(match => { - //}); var shouldRunPipeline = grunt.file.isMatch(pipeline.matcthingFiles, args.targetFile); if (shouldRunPipeline) { return pipeline.cb.call(this, args);