From 2dd0829a97086b2f9dfab3f9fc86405a93ffb781 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 29 Jun 2013 16:11:46 +0200 Subject: updated build scripts --- pavement.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'pavement.py') diff --git a/pavement.py b/pavement.py index 7c34a5bc8..143abe517 100644 --- a/pavement.py +++ b/pavement.py @@ -18,6 +18,7 @@ def new_fnmatch(self, pattern): path.fnmatch = new_fnmatch +import os import sys import re from subprocess import call, Popen @@ -95,9 +96,11 @@ def apitypes(options): @task def webapp(): """ Builds the pyload web app. Nodejs and npm must be installed """ - # TODO - # npm install - # bower install + + os.chdir(PROJECT_DIR / "pyload" / "web") + call(["npm", "install"]) + call(["bower", "install"]) + call(["grunt"]) @task -- cgit v1.2.3