Pubspec Override
            
            #545
          
          
        Replies: 1 comment
-
| The dart pub command doesn't publish the override file so the system should
work exactly as you want.… On Tue, 5 Nov 2024, 1:51 am Brent, ***@***.***> wrote:
 Hi, When im doing localhost development, I will be making use of the
 pubspec_override.yaml file. This so that I dont have to keep pushing new
 updates of my 1 package, which is used in a 2nd package.
 However when I publish, I dont want the pubspec override file to be used.
 Ultimately package 1 and 2 will both be uploaded to onePub, and used by my
 client application. Is there a way I can exclude the override file from the
 published artifact when using dart pub publish.
 —
 Reply to this email directly, view it on GitHub
 <#545>, or unsubscribe
 <https://github.com/notifications/unsubscribe-auth/AAG32OFVAXKW4CT756JZ7JDZ66CVLAVCNFSM6AAAAABRENYZ5CVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGQZDGOJVHE>
 .
 You are receiving this because you are subscribed to this thread.Message
 ID: ***@***.***>
 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        VobSquash
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, When im doing localhost development, I will be making use of the pubspec_override.yaml file. This so that I dont have to keep pushing new updates of my 1 package, which is used in a 2nd package.
However when I publish, I dont want the pubspec override file to be used. Ultimately package 1 and 2 will both be uploaded to onePub, and used by my client application. Is there a way I can exclude the override file from the published artifact when using dart pub publish.
Beta Was this translation helpful? Give feedback.
All reactions