##// END OF EJS Templates
setup: hgbuildmo inherits from Command...
Simon Heimberg -
r15493:8504699d default
parent child Browse files
Show More
@@ -192,7 +192,7 b' class hgbuild(build):'
192 sub_commands = [('build_mo', None),
192 sub_commands = [('build_mo', None),
193 ] + build.sub_commands
193 ] + build.sub_commands
194
194
195 class hgbuildmo(build):
195 class hgbuildmo(Command):
196
196
197 description = "build translations (.mo files)"
197 description = "build translations (.mo files)"
198
198
@@ -222,6 +222,12 b' class hgbuildmo(build):'
222 self.mkpath(join('mercurial', modir))
222 self.mkpath(join('mercurial', modir))
223 self.make_file([pofile], mobuildfile, spawn, (cmd,))
223 self.make_file([pofile], mobuildfile, spawn, (cmd,))
224
224
225 def initialize_options(self):
226 pass
227
228 def finalize_options(self):
229 pass
230
225
231
226 class hgdist(Distribution):
232 class hgdist(Distribution):
227 pure = 0
233 pure = 0
General Comments 0
You need to be logged in to leave comments. Login now