diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-08-01 13:04:53 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-08-01 13:39:33 +0000 |
commit | f6eb09c03e4a5a63291d9fd0c8d2b9839855de7c (patch) | |
tree | 37b5da7fbb6f5d3f034f09f3b5fd89d6fabbf73b /morphlib/app.py | |
parent | 2bf9843afba2d4f2a81bb136ec693f7b52803639 (diff) | |
download | morph-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-x | morphlib/app.py | 17 |
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. |