File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -150,11 +150,13 @@ let package = Package(
150150
151151// ---    STANDARD CROSS-REPO SETTINGS DO NOT EDIT   --- //
152152for  target  in  package . targets { 
153-     if  target. type !=  . plugin { 
153+     switch  target. type { 
154+     case  . regular,  . test,  . executable: 
154155        var  settings  =  target. swiftSettings ??  [ ] 
155156        // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
156157        settings. append ( . enableUpcomingFeature( " MemberImportVisibility " ) ) 
157158        target. swiftSettings =  settings
159+     case  . macro,  . plugin,  . system,  . binary:  ( )   // not applicable
160+     @unknown   default :  ( )   // we don't know what to do here, do nothing
158161    } 
159- } 
160- // --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
162+ } // --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments