Commit 32022863 authored by Pietro Albini's avatar Pietro Albini

Use local gulp instead of the global one

parent d580e08f
......@@ -106,17 +106,19 @@ def clean():
def assets(watch=False):
"""Build the assets"""
node_bin = "%s/node_modules/.bin" % BASE
# Be sure to have all the dependencies installed
if not os.path.exists("%s/node_modules" % BASE):
if not os.path.exists(node_bin):"npm install", pty=True)
if watch:
try:"gulp watch", pty=True)"%s/gulp watch" % node_bin, pty=True)
except KeyboardInterrupt:
else:"gulp", pty=True)"%s/gulp" % node_bin, pty=True)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment