Add COMMIT, VERSION and VERCODE recipe vars. Fixes #69

This commit is contained in:
Daniel Martí 2015-05-10 13:53:06 +02:00
parent f63ea5cb86
commit e916e5df4e
2 changed files with 9 additions and 5 deletions

View file

@ -575,7 +575,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
# Run a build command if one is required...
if thisbuild['build']:
logging.info("Running 'build' commands in %s" % root_dir)
cmd = common.replace_config_vars(thisbuild['build'])
cmd = common.replace_config_vars(thisbuild['build'], thisbuild)
# Substitute source library paths into commands...
for name, number, libpath in srclibpaths: