Added API generation and Yaml testing for 1.x and 1.0 branches of elasticsearch.

This commit is contained in:
Spencer Alger
2014-02-05 08:18:19 -07:00
parent 5ff4b6f855
commit 6c5838fbfa
31 changed files with 20144 additions and 2035 deletions

View File

@ -16,9 +16,9 @@ function spawn(cmd, args, opts, cb) {
if (opts.cwd) {
conf.cwd = opts.cwd;
subdir = path.relative(root, opts.cwd) + ' ';
subdir = path.relative(root, opts.cwd);
}
console.log(chalk.white.bold((subdir || '') + '$ ') + cmd + ' ' + args.join(' '));
console.log(chalk.white.bold((subdir ? subdir + ' ' : '') + '$ ') + cmd + ' ' + args.join(' '));
var proc = cp.spawn(cmd, args, opts);
var out = estream.split();