summaryrefslogtreecommitdiffstats
path: root/python/macholib/macholib_tests/binaries
diff options
context:
space:
mode:
Diffstat (limited to 'python/macholib/macholib_tests/binaries')
-rw-r--r--python/macholib/macholib_tests/binaries/src/build.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/python/macholib/macholib_tests/binaries/src/build.py b/python/macholib/macholib_tests/binaries/src/build.py
new file mode 100644
index 000000000..e2a179c78
--- /dev/null
+++ b/python/macholib/macholib_tests/binaries/src/build.py
@@ -0,0 +1,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()