GeezerVison is showing github.com — build: add `--without-corepack` · nodejs/node@0231ffa
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: configure.py +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
567 | 567 | dest='without_npm', |
568 | 568 | help='do not install the bundled npm (package manager)') |
569 | 569 |
|
| 570 | +parser.add_option('--without-corepack', |
| 571 | + action='store_true', |
| 572 | + dest='without_corepack', |
| 573 | + help='do not install the bundled Corepack') |
| 574 | + |
570 | 575 | # Dummy option for backwards compatibility |
571 | 576 | parser.add_option('--without-report', |
572 | 577 | action='store_true', |
@@ -1066,6 +1071,7 @@ def configure_node(o): |
1066 | 1071 | o['variables']['OS'] = 'android' |
1067 | 1072 | o['variables']['node_prefix'] = options.prefix |
1068 | 1073 | o['variables']['node_install_npm'] = b(not options.without_npm) |
| 1074 | + o['variables']['node_install_corepack'] = b(not options.without_corepack) |
1069 | 1075 | o['variables']['debug_node'] = b(options.debug_node) |
1070 | 1076 | o['default_configuration'] = 'Debug' if options.debug else 'Release' |
1071 | 1077 | o['variables']['error_on_warn'] = b(options.error_on_warn) |
|
Collapse file
Copy file name to clipboardExpand all lines: tools/install.py +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -163,6 +163,8 @@ def files(action): |
163 | 163 |
|
164 | 164 | if 'true' == variables.get('node_install_npm'): |
165 | 165 | npm_files(action) |
| 166 | + |
| 167 | + if 'true' == variables.get('node_install_corepack'): |
166 | 168 | corepack_files(action) |
167 | 169 |
|
168 | 170 | headers(action) |
|