summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-08-01 13:04:53 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-08-01 13:39:33 +0000
commitf6eb09c03e4a5a63291d9fd0c8d2b9839855de7c (patch)
tree37b5da7fbb6f5d3f034f09f3b5fd89d6fabbf73b /morphlib/app.py
parent2bf9843afba2d4f2a81bb136ec693f7b52803639 (diff)
downloadmorph-f6eb09c03e4a5a63291d9fd0c8d2b9839855de7c.tar.gz
Move cmd_build to a separate plugin
It's such a small amount of code, it's possibly not worth it, but now all commands are in plugins.
Diffstat (limited to 'morphlib/app.py')
-rwxr-xr-xmorphlib/app.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index 6bda8bf8..4e6a66e4 100755
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -195,23 +195,6 @@ class Morph(cliapp.Application):
category=DeprecationWarning)
return self.create_source_pool(*args)
- def cmd_build(self, args):
- '''Build a binary from a morphology.
-
- Command line arguments are the repository, git tree-ish reference,
- and morphology filename. Morph takes care of building all dependencies
- before building the morphology. All generated binaries are put into the
- cache.
-
- (The triplet of command line arguments may be repeated as many
- times as necessary.)
-
- '''
-
- build_command = morphlib.buildcommand.BuildCommand(self)
- build_command = self.hookmgr.call('new-build-command', build_command)
- build_command.build(args)
-
def _resolveref(self, lrc, rrc, reponame, ref, update=True):
'''Resolves the sha1 of the ref in reponame and returns it.