|
@@ -5,11 +5,11 @@ def execute(): |
|
|
p = Popen(['which', 'brew'], stdout=PIPE, stderr=PIPE) |
|
|
p = Popen(['which', 'brew'], stdout=PIPE, stderr=PIPE) |
|
|
output, err = p.communicate() |
|
|
output, err = p.communicate() |
|
|
if output: |
|
|
if output: |
|
|
subprocess.call(['brew', 'upgrade', 'node']) |
|
|
|
|
|
|
|
|
call(['brew', 'upgrade', 'node']) |
|
|
else: |
|
|
else: |
|
|
print 'Please update your NodeJS version' |
|
|
print 'Please update your NodeJS version' |
|
|
|
|
|
|
|
|
subprocess.call([ |
|
|
|
|
|
|
|
|
call([ |
|
|
'npm', 'install', |
|
|
'npm', 'install', |
|
|
'babel-core', |
|
|
'babel-core', |
|
|
'less', |
|
|
'less', |
|
|