-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
What tasks should be supported from within the release zip? #3911
Comments
You aren't supposed to be able to run |
Then why do we include the gulpfile? |
It was probably just an oversight from when we switched to gulp, however, having the gulpfile should let you run the tests from the command line (which is something we currently support in the released zips). Though I haven't tried it as we are still using the old Jasmine testing for release testing. |
Discussion from #6025 (deleting gulp file from release) I'm not sure this really fixes the issue because there will still be gulp-based tasks listed in But the real question we need to answer is, "What else are do we support doing with the release zip?":
Depending on the answers to these questions (and maybe others I glanced over) we can modify the zip further to better suit the needs. |
We removed the The reason we removed it was that it was no longer possible to run any gulp tasks from within the release zip. However, this was due to #8659 and can be fixed by including Once that file is restored, it's possible to run a subset of the tasks from within the release zip: 🔴 Since its only possible and helpful to run a subset of these tasks, I think it make sense to modify the packaged package.json file to limit the included scripts. From conversation above and from looking at other packages, it sounds like we generally want to exclude build and dev-centric tasks, while supporting verification tasks. I would propose the following list of tasks to be included in package.json and the rest to be omitted:
This list is arrived at by omitting build and watch tasks, as well as the |
Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/eaY-tlnabK0
Running
npm run build
from the release fails because.jshintrc
is missing from the root, apps, and apps/sandcastle directoriesThe text was updated successfully, but these errors were encountered: