Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-jhbuild
blob: f7da02739c7ba9da09916240d6f0581e552e3bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python

import os
import sys

base_dir = os.path.abspath(os.path.dirname(__file__))
sys.path.append(os.path.join(base_dir, 'build-scripts', 'jhbuild'))

from updater import Updater

updater = Updater(base_dir)
updater.update()

import jhbuild.commands

import bundlemodule
import sanitycheck

from config import Config

config = Config(base_dir)

args = []
command = 'build'

if len(sys.argv) > 0:
    command = sys.argv[1]

if len(sys.argv) > 1:
	args = sys.argv[2:]

jhbuild.commands.run(command, config, args)