Introduce disable= as a better way of disabling a build

Prefixing commit ID with ! and a message will still work, but that's
very silly. Using disable= is now the correct way.
This commit is contained in:
Ciaran Gultnieks 2013-10-26 10:26:47 +01:00
parent 2aafda0154
commit 715035a707
4 changed files with 17 additions and 15 deletions

View file

@ -681,7 +681,7 @@ def trybuild(app, thisbuild, build_dir, output_dir, also_check_dir, srclib_dir,
if os.path.exists(dest_also):
return False
if thisbuild['commit'].startswith('!'):
if thisbuild['commit'].startswith('!') or 'disable' in thisbuild:
return False
print "Building version " + thisbuild['version'] + ' of ' + app['id']