summaryrefslogtreecommitdiff
path: root/ybd.py
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-05-16 00:45:29 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-05-16 01:36:40 +0000
commit5db63cec71d3a961214ec2ed9819095dbe51db3e (patch)
treee09b1d76f879b3e1cb6b260936f5cee350ad1acb /ybd.py
parentb28c4b6e987c215f3f2c69f9fca343a5b7828214 (diff)
downloadybd-5db63cec71d3a961214ec2ed9819095dbe51db3e.tar.gz
Log the version of definitions we are working with
Diffstat (limited to 'ybd.py')
-rwxr-xr-xybd.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ybd.py b/ybd.py
index e6698e8..b385f8d 100755
--- a/ybd.py
+++ b/ybd.py
@@ -26,12 +26,14 @@ import app
from assembly import assemble, deploy
import sandbox
+
print
target = sys.argv[1]
arch = sys.argv[2]
+
with app.setup(target, arch):
- with app.timer('TOTAL', 'YBD starts'):
- with app.timer('DEFINITIONS', 'Parsing'):
+ with app.timer('TOTAL', 'YBD starts in %s' % app.settings['defdir']):
+ with app.timer('DEFINITIONS', 'Parsing %s' % app.settings['def-ver']):
defs = Definitions()
with app.timer('CACHE-KEYS', 'Calculating'):
cache.get_cache(app.settings['target'])