diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-30 14:21:45 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-30 14:21:45 +0100 |
commit | e039026513a7536579d0894bdfb052e6bd560058 (patch) | |
tree | 7eb9afce8546476a0a37ad1e14e8a2a6428db4f4 /morphlib | |
parent | 9579486fadb5af77ecfc8df9dd1e9e814d958bef (diff) | |
download | morph-e039026513a7536579d0894bdfb052e6bd560058.tar.gz |
Add default (empty) command lists for build systems
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/buildsystem.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/morphlib/buildsystem.py b/morphlib/buildsystem.py index 3969bddc..0ac27387 100644 --- a/morphlib/buildsystem.py +++ b/morphlib/buildsystem.py @@ -31,10 +31,16 @@ class BuildSystem(object): ''' + def __init__(self): + self.configure_commands = [] + self.build_commands = [] + self.test_commands = [] + self.install_commands = [] + def used_by_project(self, srcdir): '''Does project at ``srcdir`` use this build system?''' raise NotImplementedError() # pragma: no cover - + class ManualBuildSystem(BuildSystem): |