Beispiel #1
0
 def __init__(self):
     Command.__init__(
         self,
         [
             make_option(
                 "-c", "--clean", action="store_true", dest="clean", default=False, help="clean before building"
             ),
             make_option(
                 "-n",
                 "--no-network",
                 action="store_true",
                 dest="nonetwork",
                 default=False,
                 help="skip version control update",
             ),
             make_option(
                 "-f",
                 "--force",
                 action="store_true",
                 dest="force_policy",
                 default=False,
                 help="build even if policy says not to",
             ),
             make_option(
                 "-m",
                 "--arch",
                 action="store",
                 dest="arch",
                 default="Win32",
                 choices=["Win32", "x64"],
                 help="build for a specific architecture",
             ),
         ],
     )
Beispiel #2
0
 def __init__(self):
     Command.__init__(
         self,
         [
             make_option(
                 "-c", "--clean", action="store_true", dest="clean", default=False, help="clean before building"
             ),
             make_option(
                 "-n",
                 "--no-network",
                 action="store_true",
                 dest="nonetwork",
                 default=False,
                 help="skip version control update",
             ),
             make_option(
                 "-s",
                 "--skip",
                 metavar="MODULES",
                 action="append",
                 dest="skip",
                 default=[],
                 help="treat the given modules as up to date",
             ),
             make_option(
                 "-t",
                 "--start-at",
                 metavar="MODULE",
                 action="store",
                 dest="startat",
                 default=None,
                 help="start building at the given module",
             ),
             make_option(
                 "-f",
                 "--force",
                 action="store_true",
                 dest="force_policy",
                 default=False,
                 help="build even if policy says not to",
             ),
             make_option(
                 "-m",
                 "--arch",
                 action="store",
                 dest="arch",
                 default="Win32",
                 choices=["Win32", "x64"],
                 help="build for a specific architecture",
             ),
         ],
     )