-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
remove dist/ #777
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
remove dist/ #777
Conversation
…o conflict on merge or issue being out of sync. use 'build' target to generate before publishing npm (which I didn't see included) Bug Number: #776
…o conflict on merge or issue being out of sync. use 'build' target to generate before publishing npm (which I didn't see included) Bug Number: #776
…to 776_dist_remove
package.json
Outdated
| }, | ||
| "scripts": { | ||
| "build": "grunt ; doctoc ./README.md ; doctoc ./doc/README.md ; doctoc ./doc/CHANGES.md", | ||
| "build": "mkdir dist && grunt && doctoc ./README.md && doctoc ./doc/README.md && doctoc ./doc/CHANGES.md", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&& are needed to run on windows instead of ;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mkdir dist will fail if dist exists. You can pass mkdir -p to only create it if it does not exist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like -p is only supported on *nix versions of the utility
remove dist/ folder and instead generate the output files during build process, so there is no conflict on merge or issue being out of sync.
use 'build' target to generate before publishing npm (which I didn't see included)
fix #776