mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Fix nodesource.list creation
This commit is contained in:
@ -17,8 +17,8 @@ if build == 'Doc':
|
|||||||
travis = 'TRAVIS' in os.environ
|
travis = 'TRAVIS' in os.environ
|
||||||
# Install dependencies.
|
# Install dependencies.
|
||||||
if travis:
|
if travis:
|
||||||
with open('/etc/apt/sources.list.d/nodesource.list', 'a') as f:
|
check_call("echo 'deb https://deb.nodesource.com/node_0.10 precise main' | " +
|
||||||
f.write('deb http://deb.nodesource.com/node_0.10 precise main\n')
|
"sudo tee /etc/apt/sources.list.d/nodesource.list", shell=True)
|
||||||
check_call(['sudo', 'apt-get', 'update'])
|
check_call(['sudo', 'apt-get', 'update'])
|
||||||
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'nodejs'])
|
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'nodejs'])
|
||||||
check_call(['npm', 'install', '-g', 'less'])
|
check_call(['npm', 'install', '-g', 'less'])
|
||||||
|
Reference in New Issue
Block a user