fix: allow skipping of patch procedures
This commit is contained in:
12
build.py
12
build.py
@@ -593,14 +593,22 @@ def parse_args():
|
|||||||
type=bool,
|
type=bool,
|
||||||
default=False,
|
default=False,
|
||||||
action=argparse.BooleanOptionalAction,
|
action=argparse.BooleanOptionalAction,
|
||||||
dest="zip",
|
)
|
||||||
|
|
||||||
|
parser.add_argument(
|
||||||
|
"--patch",
|
||||||
|
help="Whether to patch the colloid submodule",
|
||||||
|
type=bool,
|
||||||
|
default=True,
|
||||||
|
action=argparse.BooleanOptionalAction,
|
||||||
)
|
)
|
||||||
|
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
args = parse_args()
|
args = parse_args()
|
||||||
apply_colloid_patches()
|
if args.patch:
|
||||||
|
apply_colloid_patches()
|
||||||
|
|
||||||
palette = getattr(PALETTE, args.flavor)
|
palette = getattr(PALETTE, args.flavor)
|
||||||
accents=[
|
accents=[
|
||||||
|
|||||||
Reference in New Issue
Block a user