Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-jhbuild
diff options
context:
space:
mode:
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-xsugar-jhbuild16
1 files changed, 15 insertions, 1 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild
index 828cff8..e9ded6a 100755
--- a/sugar-jhbuild
+++ b/sugar-jhbuild
@@ -8,11 +8,25 @@ sys.path.append(os.path.join(base_dir, 'build-scripts', 'jhbuild'))
import jhbuild.commands
-from config import Config
import bundlemodule
+from config import Config
+from updater import Updater
+from dependencychecker import DependencyChecker
+
+updater = Updater(base_dir)
+updater.update()
config = Config(base_dir)
+checker = DependencyChecker()
+checker.check_python('2.5')
+
+print 'Missing dependencies:'
+if len(checker.get_missing()) > 0:
+ for missing in checker.get_missing():
+ print missing
+ sys.exit(1)
+
args = []
command = 'build'