summaryrefslogtreecommitdiff
path: root/morph
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-02 13:46:52 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-02 13:46:52 +0000
commitc8ac753c026e341383093879e478a609460c05ff (patch)
tree04c4160397e009a6410c426261e46db76aa47fb6 /morph
parent1b1af38ecbefcbe78bed0f64ee121daba83eab32 (diff)
downloadmorph-c8ac753c026e341383093879e478a609460c05ff.tar.gz
Refactor builder.py for correctness and clarity
It now uses a systematic approach for building needed components, and for decided when something has already been built.
Diffstat (limited to 'morph')
-rwxr-xr-xmorph6
1 files changed, 1 insertions, 5 deletions
diff --git a/morph b/morph
index c3cda8bb..d4378c42 100755
--- a/morph
+++ b/morph
@@ -36,10 +36,6 @@ class Morph(cliapp.Application):
self.settings.string(['git-base-url'],
'prepend URL to git repos that are not URLs',
metavar='URL')
- self.settings.string(['chunk-repo'],
- '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='.')
@@ -59,7 +55,7 @@ class Morph(cliapp.Application):
with self.open_input(name, 'r') as f:
morph = morphlib.morphology.Morphology(f,
baseurl=self.settings['git-base-url'])
- builder.build(morph)
+ builder.build(morph, '', '')
tempdir.remove()
def msg(self, msg):