blob: d86fecd60ecc30b766af13cf925ed53900fe1dcc (
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
|
#!/usr/bin/python -u
import argparse
import sys
import common
from devbot import system
from devbot import build
parser = argparse.ArgumentParser()
parser.add_argument("module", nargs="?", help="name of the module to build")
args = parser.parse_args()
common.setup()
if not system.check(skip_if_unchanged=True):
sys.exit(1)
if args.module:
success = build.build_one(args.module)
else:
success = build.build()
if not success:
sys.exit(1)
|