Mercurial > treepkg
comparison bin/treepkgbuilder.py @ 192:eaadf5350a1a
Add the add-binaries command to bin/treepkgbuilder.py
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Wed, 30 Jul 2008 19:30:21 +0000 |
parents | 83c77307ffb1 |
children | 6624e731e218 |
comparison
equal
deleted
inserted
replaced
191:94fb3f3ab58b | 192:eaadf5350a1a |
---|---|
79 builder.init_pbuilder(distribution=self.opts.distribution, | 79 builder.init_pbuilder(distribution=self.opts.distribution, |
80 mirrorsite=self.opts.mirrorsite, | 80 mirrorsite=self.opts.mirrorsite, |
81 extramirrors=self.opts.othermirror) | 81 extramirrors=self.opts.othermirror) |
82 | 82 |
83 | 83 |
84 class AddBinariesCommand(Command): | |
85 | |
86 names = ("add-binaries",) | |
87 | |
88 def run(self): | |
89 builder = self.get_builder() | |
90 builder.add_binaries_to_extra_pkg(self.rest) | |
91 | |
92 | |
84 class UpdateCommand(Command): | 93 class UpdateCommand(Command): |
85 | 94 |
86 names = ("update",) | 95 names = ("update",) |
87 | 96 |
88 def run(self): | 97 def run(self): |