Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-jhbuild
blob: e4bfed246968a8e7253f3499e6b8ccabf40d8e2c (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
#!/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'))

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)