diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-09-29 12:28:25 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-09-29 12:28:25 +0100 |
commit | e82f19d5c95b5a94582a85999c24410d98100099 (patch) | |
tree | a232ea4a8eee2faeb97492a735a76ad6730b8137 /morph | |
parent | 4277cde1f040f7aa3b913e12d8d847bea4a07408 (diff) | |
download | morph-e82f19d5c95b5a94582a85999c24410d98100099.tar.gz |
Adapt cmdtest tests to chunk morphs no longer having a "source" field.
Diffstat (limited to 'morph')
-rwxr-xr-x | morph | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -36,10 +36,14 @@ 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') def cmd_build(self, morph_filenames): tempdir = morphlib.tempdir.Tempdir() - builder = morphlib.builder.Builder(tempdir, self.msg) + builder = morphlib.builder.Builder(tempdir, self.msg, self.settings) for name in morph_filenames: self.msg('Building morphology %s' % name) with self.open_input(name, 'r') as f: |