From c8ac753c026e341383093879e478a609460c05ff Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 2 Nov 2011 13:46:52 +0000 Subject: 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. --- morph | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'morph') 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): -- cgit v1.2.1