Skip to content

Support only publishing files added to git #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue Jun 4, 2015 · 2 comments
Closed

Support only publishing files added to git #17

DartBot opened this issue Jun 4, 2015 · 2 comments
Labels
contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Jun 4, 2015

<img src="https://avatars.githubusercontent.com/u/817422?v=3" align="left" width="96" height="96"hspace="10"> Issue by Pajn
Originally opened as dart-lang/sdk#23375


When running pub publish it wants to publish all files inside the project, it would be great with a flag to only publish files that are added to the git repository.

This is to avoid publishing build files, work-in-progress, caches or other similar stuff.

@DartBot
Copy link
Author

DartBot commented Jun 4, 2015

<img src="https://avatars.githubusercontent.com/u/8631949?v=3" align="left" width="48" height="48"hspace="10"> Comment by floitschG


Added Area-Pub, Triaged labels.

@DartBot DartBot added the type-enhancement A request for a change that isn't a bug label Jun 4, 2015
@nex3 nex3 added the contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) label Dec 10, 2015
@natebosch
Copy link
Member

Pub honors the .gitignore file now which solve the biggest part of this problem. It doesn't help for WIP type scenarios, but I don't think that's something we necessarily want to focus on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants