diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-02 13:46:52 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-02 13:46:52 +0000 |
commit | c8ac753c026e341383093879e478a609460c05ff (patch) | |
tree | 04c4160397e009a6410c426261e46db76aa47fb6 /morph | |
parent | 1b1af38ecbefcbe78bed0f64ee121daba83eab32 (diff) | |
download | morph-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-x | morph | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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): |