Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-jhbuild
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-01-26 13:48:48 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-01-26 13:48:48 (GMT)
commita5a9c0fb4f20eaae3c43b586170a805cf42567de (patch)
treef6631bd76ae88a7a1db6b9543faec7bc68cc61e7 /sugar-jhbuild
parent2113414727f25a1b48e37478ef326733894227e8 (diff)
Automatically sanitycheck on a full build.
Give feedback on sanitycheck when it succeed.
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-xsugar-jhbuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild
index 45a74ed..ad084e3 100755
--- a/sugar-jhbuild
+++ b/sugar-jhbuild
@@ -25,11 +25,13 @@ if len(sys.argv) > 0:
if len(sys.argv) > 1:
args = sys.argv[2:]
-if command == 'build-base':
+if command == 'build':
+ print 'Checking dependencies...'
+ jhbuild.commands.run('sanitycheck', config, [])
+elif command == 'build-base':
command = 'build'
args.append('meta-sugar-base')
-
-if command == 'run' and len(args) == 0:
+elif command == 'run' and len(args) == 0:
args.append('sugar-emulator')
jhbuild.commands.run(command, config, args)