Updating shelljs to 0.2.6. Copy now preserves mode bits.

This commit is contained in:
Braden Shepherdson
2013-10-23 15:22:36 -04:00
parent 28c41294bb
commit 001570e941
35 changed files with 2105 additions and 1888 deletions
@@ -7,6 +7,12 @@ cd(__dirname + '/..');
// Extract docs from shell.js
var docs = grep('//@', 'shell.js');
docs = docs.replace(/\/\/\@include (.+)/g, function(match, path) {
var file = path.match('.js$') ? path : path+'.js';
return grep('//@', file);
});
// Remove '//@'
docs = docs.replace(/\/\/\@ ?/g, '');
// Append docs to README
+1 -1
View File
@@ -16,7 +16,7 @@ if (!test('-f', JSHINT_BIN)) {
exit(1);
}
if (exec(JSHINT_BIN + ' --config jshint.json *.js test/*.js').code !== 0) {
if (exec(JSHINT_BIN + ' *.js test/*.js').code !== 0) {
failed = true;
echo('*** JSHINT FAILED! (return code != 0)');
echo();