summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-30 14:21:45 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-30 14:21:45 +0100
commite039026513a7536579d0894bdfb052e6bd560058 (patch)
tree7eb9afce8546476a0a37ad1e14e8a2a6428db4f4 /morphlib/buildsystem.py
parent9579486fadb5af77ecfc8df9dd1e9e814d958bef (diff)
downloadmorph-e039026513a7536579d0894bdfb052e6bd560058.tar.gz
Add default (empty) command lists for build systems
Diffstat (limited to 'morphlib/buildsystem.py')
-rw-r--r--morphlib/buildsystem.py8
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):