File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 567567    dest = 'without_npm' ,
568568    help = 'do not install the bundled npm (package manager)' )
569569
570+ parser .add_option ('--without-corepack' ,
571+     action = 'store_true' ,
572+     dest = 'without_corepack' ,
573+     help = 'do not install the bundled Corepack' )
574+ 
570575# Dummy option for backwards compatibility 
571576parser .add_option ('--without-report' ,
572577    action = 'store_true' ,
@@ -1066,6 +1071,7 @@ def configure_node(o):
10661071    o ['variables' ]['OS' ] =  'android' 
10671072  o ['variables' ]['node_prefix' ] =  options .prefix 
10681073  o ['variables' ]['node_install_npm' ] =  b (not  options .without_npm )
1074+   o ['variables' ]['node_install_corepack' ] =  b (not  options .without_corepack )
10691075  o ['variables' ]['debug_node' ] =  b (options .debug_node )
10701076  o ['default_configuration' ] =  'Debug'  if  options .debug  else  'Release' 
10711077  o ['variables' ]['error_on_warn' ] =  b (options .error_on_warn )
Original file line number Diff line number Diff line change @@ -163,6 +163,8 @@ def files(action):
163163
164164  if  'true'  ==  variables .get ('node_install_npm' ):
165165    npm_files (action )
166+ 
167+   if  'true'  ==  variables .get ('node_install_corepack' ):
166168    corepack_files (action )
167169
168170  headers (action )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments