summaryrefslogtreecommitdiff
path: root/python/macholib/macholib_tests/binaries/src/build.py
blob: e2a179c783e9a3aaaefe34c5bdd9f729e2c63d8e (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, sys


class Builder (object):
    def __init__(self, args):
        self.output_dir = args[1]


    def run(self):
        for nm in dir(type(self)):
            if nm.startswith('build_'):
                getattr(self, nm)()

    def build_executable(self):
        print "Building plain executable"
        pass


builder = Builder(sys.argv)
builder.run()