[CB-3542] Commit bin/node_modules so that it doesn't need to be npm installed.

This commit is contained in:
Andrew Grieve
2013-09-10 16:58:28 -04:00
parent 437daa368a
commit 7be1f018aa
16 changed files with 2679 additions and 29 deletions
Generated Vendored Executable
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env node
require('../global');
echo('Appending docs to README.md');
cd(__dirname + '/..');
// Extract docs from shell.js
var docs = grep('//@', 'shell.js');
// Remove '//@'
docs = docs.replace(/\/\/\@ ?/g, '');
// Append docs to README
sed('-i', /## Command reference(.|\n)*/, '## Command reference\n\n' + docs, 'README.md');
echo('All done.');