Create a link for node_modules

This commit is contained in:
vitaut 2015-05-20 12:29:47 -07:00
parent fca83df599
commit fbc2fcb3e2

View File

@ -18,6 +18,7 @@ if build == 'Doc':
# Install dependencies.
if travis:
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'node-less'])
os.symlink('/usr/lib/node_modules/', os.path.expanduser('~/.node_libraries'))
cppformat_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
sys.path.insert(0, os.path.join(cppformat_dir, 'doc'))
import build