Commits

Jan Borsodi  committed 2a0cacf

Renamed build step for creating UI files to build_ui and added it to the default build step.

  • Participants
  • Parent commits 0b88453

Comments (0)

Files changed (1)

             if require_update(html, (join(doc_path, doc), join(doc_path, 'hg.1.gendoc.txt'))):
                 asciidoc(doc, 'html4', cwd=doc_path)
 
-    sub_commands = CuteHgBuild.sub_commands
+    sub_commands = CuteHgBuild.sub_commands + [("build_ui", None)]
 
 class CuteHgBdistIntaller(Command):
     description = "create an executable installer for MS Windows using NSIS"
             self.install_script = 'postinstall.py'
     return bdist_win
 
+build.sub_commands += [('build_ui', None)]
 cmds = {
-        'build' : CuteHgBuild,
+        'build_ui' : CuteHgBuild,
         'build_winext' : build_winext,
         'py2exe' : CuteHgPy2Exe,
        }