From e039026513a7536579d0894bdfb052e6bd560058 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 30 Mar 2012 14:21:45 +0100 Subject: Add default (empty) command lists for build systems --- morphlib/buildsystem.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'morphlib/buildsystem.py') 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): -- cgit v1.2.1