summaryrefslogtreecommitdiff
path: root/morphlib/plugins/build_plugin.py
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-09-06 15:56:06 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-07 18:14:44 +0100
commit63048d217f7fcd813bf1a2763dd4bc6eaf738505 (patch)
tree29f0bfd0e273df6dc59e663da88ca2452bb689b2 /morphlib/plugins/build_plugin.py
parent03ec6cd0c01781729f8b684229c43ecc3f9d033d (diff)
downloadmorph-63048d217f7fcd813bf1a2763dd4bc6eaf738505.tar.gz
Rename 'morph build' command to 'morph build-morphology'
This is needed because we are replacing the current build command by a new one that builds from a local system branch. Since that will be the more common scenario, we want the new implementaiton to go by the name 'morph build'. This commit therefore renames 'morph build' and updates all the tests to use 'morph build-morphology' instead.
Diffstat (limited to 'morphlib/plugins/build_plugin.py')
-rw-r--r--morphlib/plugins/build_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/plugins/build_plugin.py b/morphlib/plugins/build_plugin.py
index 7ad254cf..7cc2d6ec 100644
--- a/morphlib/plugins/build_plugin.py
+++ b/morphlib/plugins/build_plugin.py
@@ -22,13 +22,13 @@ import morphlib
class BuildPlugin(cliapp.Plugin):
def enable(self):
- self.app.add_subcommand('build', self.build,
+ self.app.add_subcommand('build-morphology', self.build_morphology,
arg_synopsis='(REPO REF FILENAME)...')
def disable(self):
pass
- def build(self, args):
+ def build_morphology(self, args):
'''Build a binary from a morphology.
Command line arguments are the repository, git tree-ish reference,