Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-jhbuild
blob: aecca99bd2950cb9582a1fab3348b926b2d14e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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

from config import Config

config = Config(base_dir)

if len(sys.argv) > 1:
	command = sys.argv[1]
	args = sys.argv[2:]
else:
	command = 'build'
	args = sys.argv[1:]

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