diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-25 22:48:05 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-25 22:48:05 (GMT) |
commit | 02816d68c81a1869fa5aff8a12fd5f6accc61dbf (patch) | |
tree | 0c38ee0a2b072f2a024472fed7abaccf514a7fd4 /commands/run | |
parent | 8e4344d34677cb98232126b23b57abde90f4ac38 (diff) |
Ensure the build is up to date when running
Diffstat (limited to 'commands/run')
-rwxr-xr-x | commands/run | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/commands/run b/commands/run index dfc8b7a..e08a1c2 100755 --- a/commands/run +++ b/commands/run @@ -6,8 +6,11 @@ import sys import common from devbot import run -from devbot import config +from devbot import build common.setup() +if not build.build(): + sys.exit(1) + run.run("sugar-runner") |