Skip to content

application packages treated as lib by pub #594

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 5, 2015 · 2 comments
Closed

application packages treated as lib by pub #594

DartBot opened this issue Jun 5, 2015 · 2 comments
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

Originally opened as dart-lang/sdk#11785

This issue was originally filed by [email protected]


It seems that application packages(AP) are treated as lib packages by pub.

http://stackoverflow.com/questions/17553846/if-and-how-to-publish-application-packages-to-pub

1.AP needs a lib folder in order to be published.

2.The installing tab on the pub package site should be adaptable by the author. So instead of adding the AP to the dependencies and importing it, we should see eg. download the package to your drive and run ###.dart.

currently I use the readme which might confuse people since they might think they have to do both installations.

additionally it would be awesome

3.Since the AP is not listed inside a pubspec file, there is no update functionality for the package (except if the user works with the bleeding edge git repo or would it work with path too?)

Thank you

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

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


Added Area-Pub, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

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


Pub's support for packages that expose binaries is still mostly non-existent. Once that's further along, the publishing experience will be adapted to support them better too.


Added Duplicate label.
Marked as being merged into #407.

@DartBot DartBot added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) closed-duplicate Closed in favor of an existing report labels Jun 5, 2015
@DartBot DartBot closed this as completed Jun 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

1 participant