summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
Diffstat (limited to 'src/script')
-rw-r--r--src/script/scons.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/script/scons.py b/src/script/scons.py
index fbb7341..e0e958b 100644
--- a/src/script/scons.py
+++ b/src/script/scons.py
@@ -32,7 +32,11 @@ class Task:
self.target = target
def execute(self):
- self.target.build()
+ try:
+ self.target.build()
+ except BuildError, e:
+ sys.stderr.write("scons: *** [%s] Error %d\n" % (e.node, e.stat))
+ raise
@@ -62,7 +66,7 @@ class Taskmaster:
pass
def failed(self, task):
- pass
+ self.num_iterated = len(self.targets)
# Global variables