assert os.path.isdir(npm_env)
os.symlink(npm_env, os.path.join(rng_base_dir, 'node_modules'))
try:
assert os.path.isdir(npm_env)
os.symlink(npm_env, os.path.join(rng_base_dir, 'node_modules'))
try:
if options['node_bin_path']:
# grunt needs npm binary to be foundable in PATH
os.environ['PATH'] = '%s:%s' % (options['node_bin_path'], os.environ['PATH'])
if options['node_bin_path']:
# grunt needs npm binary to be foundable in PATH
os.environ['PATH'] = '%s:%s' % (options['node_bin_path'], os.environ['PATH'])
- call(args, cwd = rng_base_dir)
+ self.stdout.write('Calling %s at %s' % (' '.join(args), rng_base_dir))
+ call(args, cwd=rng_base_dir)