summaryrefslogtreecommitdiffstats
path: root/pavement.py
diff options
context:
space:
mode:
Diffstat (limited to 'pavement.py')
-rw-r--r--pavement.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/pavement.py b/pavement.py
index 143abe517..17cd4594c 100644
--- a/pavement.py
+++ b/pavement.py
@@ -98,9 +98,17 @@ def webapp():
""" Builds the pyload web app. Nodejs and npm must be installed """
os.chdir(PROJECT_DIR / "pyload" / "web")
- call(["npm", "install"])
- call(["bower", "install"])
- call(["grunt"])
+
+ # Preserve exit codes
+ ret = call(["npm", "install", "--no-color"])
+ if ret:
+ exit(ret)
+ ret = call(["bower", "install", "--no-color"])
+ if ret:
+ exit(ret)
+ ret = call(["grunt", "--no-color"])
+ if ret:
+ exit(ret)
@task