@@ -549,16 +549,16 @@ def create_argument_parser():
549
549
# -------------------------------------------------------------------------
550
550
in_group ('Options to select projects' )
551
551
552
- option ('--infer' , store_true ('infer_dependencies' ),
552
+ option ('--infer' , toggle_true ('infer_dependencies' ),
553
553
help = 'Infer any downstream dependencies from enabled projects' )
554
554
555
- option (['-l' , '--lldb' ], store_true ('build_lldb' ),
555
+ option (['-l' , '--lldb' ], toggle_true ('build_lldb' ),
556
556
help = 'build LLDB' )
557
557
558
- option (['-b' , '--llbuild' ], store_true ('build_llbuild' ),
558
+ option (['-b' , '--llbuild' ], toggle_true ('build_llbuild' ),
559
559
help = 'build llbuild' )
560
560
561
- option (['--libcxx' ], store_true ('build_libcxx' ),
561
+ option (['--libcxx' ], toggle_true ('build_libcxx' ),
562
562
help = 'build libcxx' )
563
563
564
564
option (['-p' , '--swiftpm' ], toggle_true ('build_swiftpm' ),
@@ -567,16 +567,16 @@ def create_argument_parser():
567
567
option (['--install-swiftpm' ], toggle_true ('install_swiftpm' ),
568
568
help = 'install swiftpm' )
569
569
570
- option (['--swiftsyntax' ], store_true ('build_swiftsyntax' ),
570
+ option (['--swiftsyntax' ], toggle_true ('build_swiftsyntax' ),
571
571
help = 'build swiftSyntax' )
572
572
573
- option (['--skstresstester' ], store_true ('build_skstresstester' ),
573
+ option (['--skstresstester' ], toggle_true ('build_skstresstester' ),
574
574
help = 'build the SourceKit stress tester' )
575
575
576
- option (['--swiftformat' ], store_true ('build_swiftformat' ),
576
+ option (['--swiftformat' ], toggle_true ('build_swiftformat' ),
577
577
help = 'build swift-format' )
578
578
579
- option (['--swiftevolve' ], store_true ('build_swiftevolve' ),
579
+ option (['--swiftevolve' ], toggle_true ('build_swiftevolve' ),
580
580
help = 'build the swift-evolve tool' )
581
581
582
582
option (['--swift-driver' ], toggle_true ('build_swift_driver' ),
@@ -630,13 +630,13 @@ def create_argument_parser():
630
630
option ('--playgroundsupport' , toggle_true ('build_playgroundsupport' ),
631
631
help = 'build PlaygroundSupport' )
632
632
option ('--install-playgroundsupport' ,
633
- store_true ('install_playgroundsupport' ),
633
+ toggle_true ('install_playgroundsupport' ),
634
634
help = 'install playground support' )
635
635
636
636
option ('--build-ninja' , toggle_true ,
637
637
help = 'build the Ninja tool' )
638
638
639
- option (['--build-libparser-only' ], store_true ('build_libparser_only' ),
639
+ option (['--build-libparser-only' ], toggle_true ('build_libparser_only' ),
640
640
help = 'build only libParser for SwiftSyntax' )
641
641
642
642
option ('--skip-build-clang-tools-extra' ,
0 commit comments