mist
Version:
Mist build system
24 lines (22 loc) • 806 B
JavaScript
module.exports = function(globs, config) {
var Globber, i, len, path, pattern, result, results, results1;
path = require('path');
Globber = require('../lib/globber');
results1 = [];
for (i = 0, len = globs.length; i < len; i++) {
pattern = globs[i];
results = Globber.performGlob(pattern, process.cwd());
console.log("\x1b[33m" + pattern + "\x1b[0m");
results1.push((function() {
var j, len1, results2;
results2 = [];
for (j = 0, len1 = results.length; j < len1; j++) {
result = results[j];
results2.push(console.log(("\x1b[38;5;236m- \x1b[38;5;240m" + (path.dirname(result)) + "/") + ("\x1b[35m" + (path.basename(result)) + "\x1b[0m")));
}
return results2;
})());
}
return results1;
};
//# sourceMappingURL=mist-glob.js.map