From a5a9c0fb4f20eaae3c43b586170a805cf42567de Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 26 Jan 2007 13:48:48 +0000 Subject: Automatically sanitycheck on a full build. Give feedback on sanitycheck when it succeed. --- (limited to 'sugar-jhbuild') 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) -- cgit v0.9.1