summaryrefslogtreecommitdiff
path: root/morph
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-09-29 12:36:51 +0100
committerLars Wirzenius <liw@liw.fi>2011-09-29 12:36:51 +0100
commita2c4584418bf71c7f7ee04e333e8f53375104e63 (patch)
treec31238b776e589b5c5d4f4a61a754cbcfb5f7a0d /morph
parent37a8d96202cb0d5fd8465faaf402b5c68ef1458a (diff)
downloadmorph-a2c4584418bf71c7f7ee04e333e8f53375104e63.tar.gz
Add --cachedir option for specifying where build results go.
Diffstat (limited to 'morph')
-rwxr-xr-xmorph3
1 files changed, 3 insertions, 0 deletions
diff --git a/morph b/morph
index 84423944..bf45bb12 100755
--- a/morph
+++ b/morph
@@ -40,6 +40,9 @@ class Morph(cliapp.Application):
'repository to use for a chunk morphology')
self.settings.string(['chunk-ref'],
'commit reference to use for a chunk morphology')
+ self.settings.string(['cachedir'],
+ 'put build results in DIR (default: %default)',
+ metavar='DIR', default='.')
def cmd_build(self, morph_filenames):
tempdir = morphlib.tempdir.Tempdir()