summaryrefslogtreecommitdiff
path: root/morphlib/morph2.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-02-19 15:29:48 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-02-19 15:33:14 +0000
commitc7ad7b41011f4cfab14a21d0363a511b86969e86 (patch)
tree84bb2c13905fe8d3017ee1dc0eefef4d891f8a15 /morphlib/morph2.py
parent24866984ce4c1e2e444ea4aaf2d4860c60ac617f (diff)
downloadmorph-c7ad7b41011f4cfab14a21d0363a511b86969e86.tar.gz
Add pre- and post-commands for chunks
We already have configure-commands. Add pre-configure-commands and post-configure-commands. Likewise for build-command, test-commands, and install-commands. Added-to-pacify: Rob Kendrick
Diffstat (limited to 'morphlib/morph2.py')
-rw-r--r--morphlib/morph2.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/morphlib/morph2.py b/morphlib/morph2.py
index 6e24765e..efcc0cae 100644
--- a/morphlib/morph2.py
+++ b/morphlib/morph2.py
@@ -32,10 +32,18 @@ class Morphology(object):
static_defaults = {
'chunk': [
('description', ''),
+ ('pre-configure-commands', None),
('configure-commands', None),
+ ('post-configure-commands', None),
+ ('pre-build-commands', None),
('build-commands', None),
+ ('post-build-commands', None),
+ ('pre-test-commands', None),
('test-commands', None),
+ ('post-test-commands', None),
+ ('pre-install-commands', None),
('install-commands', None),
+ ('post-install-commands', None),
('chunks', []),
('max-jobs', None),
('build-system', 'manual')