summaryrefslogtreecommitdiff
path: root/ybd.py
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-05-20 10:34:11 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-05-20 10:34:11 +0000
commitf16bf5c2f0d7f380b01661632104e52b3b4f29ab (patch)
tree3e96f87e3d826cec1a7db610e9eb1aba11c19ffe /ybd.py
parent604162a8d915812284533637c713855c623aa51a (diff)
downloadybd-f16bf5c2f0d7f380b01661632104e52b3b4f29ab.tar.gz
Log all the things - ybd version, cwd, target
Diffstat (limited to 'ybd.py')
-rwxr-xr-xybd.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ybd.py b/ybd.py
index b385f8d..5068015 100755
--- a/ybd.py
+++ b/ybd.py
@@ -32,7 +32,9 @@ target = sys.argv[1]
arch = sys.argv[2]
with app.setup(target, arch):
- with app.timer('TOTAL', 'YBD starts in %s' % app.settings['defdir']):
+ with app.timer('TOTAL', 'YBD starts, version %s' % \
+ app.settings['ybd-version'][:-1]):
+ app.log(app.settings['defdir'], 'Target is', target)
with app.timer('DEFINITIONS', 'Parsing %s' % app.settings['def-ver']):
defs = Definitions()
with app.timer('CACHE-KEYS', 'Calculating'):