diff --git a/Makefile.dryice.js b/Makefile.dryice.js index a6cb8720..583e2f8c 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -429,15 +429,28 @@ var buildAce = function(options) { }); - console.log('# combining files into one ---------'); - if (options.shrinkwrap) { + console.log('# combining files into one ---------'); copy({ source: { root:targetDir, exclude:/^worker\-/ }, dest: BUILD_DIR + '/ace-min.js' }); } -} +}; + +// silence annoying messages from dryice +var buildAce = function(fn) { + return function() { + var log = console.log + console.log = function() { + if (typeof arguments[0] == "string" && /Ignoring requirement/.test(arguments[0])) + return; + log.apply(console, arguments); + } + fn.apply(null, arguments); + console.log = log; + } +}(buildAce); // TODO: replace with project.clone once it is fixed in dryice function cloneProject(project) {