-
Notifications
You must be signed in to change notification settings - Fork 231
pub build - expose other folders, not just web #695
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
Comments
This comment was originally written by [email protected] If I understand Sigmund's issue correctly, this would be useful for people making packages of polymer elements. For example, the polymer-elements library (https://github.com/Polymer/polymer-elements), is a collection of polymer elements with an entry point in example for each element. Also, what if I want to transform and run unit tests in javascript against the javascript version of the code? |
<img src="https://avatars.githubusercontent.com/u/5479?v=3" align="left" width="48" height="48"hspace="10"> Comment by sethladd I'd love pub build to work with example/ and bin/ (for server-side apps, the build process is a bit different I presume, but creating a snapshot is a good first step) |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 I don't think we're likely to want to use "pub build" with example folders or tests; those seem like a better fit with "pub serve", since they don't need to be deployed anywhere. That leaves "web" and "bin". Most apps aren't going to have both of these directories, so I don't really want to optimize the directory layout for all apps to handle the few apps that do. Maybe once we start supporting server-side building we can split up the subdirectories in that case in particular, though. |
<img src="https://avatars.githubusercontent.com/u/405837?v=3" align="left" width="48" height="48"hspace="10"> Comment by zoechi Actually I want to publish the examples of my libraries on i.e. Github pages so people can check them out without setting something up by themselves just to see if it contains what they are looking for (polymer elements). |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Removed Type-Defect label. |
<img src="https://avatars.githubusercontent.com/u/2049220?v=3" align="left" width="48" height="48"hspace="10"> Comment by sigmundch Issue #583 has been merged into this issue. |
This comment was originally written by [email protected] I want to build the |
<img src="https://avatars.githubusercontent.com/u/2192312?v=3" align="left" width="48" height="48"hspace="10"> Comment by keertip Marked this as blocking dart-lang/sdk#13591. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Removed Priority-Unassigned label. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Marked this as blocking dart-lang/sdk#15829. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Set owner to @munificent. |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 For reference, this is the current plan for this behavior: https://gist.github.com/munificent/8360674 |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Added Started label. |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 Issue #828 has been merged into this issue. |
<img src="https://avatars.githubusercontent.com/u/5479?v=3" align="left" width="48" height="48"hspace="10"> Comment by sethladd Looks like the code was committed. Awesome! Added this to the 1.2 milestone. |
<img src="https://avatars.githubusercontent.com/u/5479?v=3" align="left" width="48" height="48"hspace="10"> Comment by sethladd |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Added Fixed label. |
This comment was originally written by [email protected] great news! |
<img src="https://avatars.githubusercontent.com/u/2049220?v=3" align="left" width="96" height="96"hspace="10"> Issue by sigmundch
Originally opened as dart-lang/sdk#14673
pub build currently will create a 'build/' folder that contains whatever is under 'web/'.
I was wondering if we should make the 'web/' folder explicit, so we can later make room to add 'example/' and 'app/' as other folders generated under 'build/'.
The text was updated successfully, but these errors were encountered: