-
Notifications
You must be signed in to change notification settings - Fork 2
NOMERGE PR.js Build Improvements #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
base: master
Are you sure you want to change the base?
Conversation
27efd44 to
84d9ce4
Compare
* Adds build script to package.json * Formatting cleanup, courtesy of jspm * Adds build.min.js files to gitignore * Installs require-dir * Refactors gulp setup * Activates live reload in gulp serve * Adds dist/ to gitignore * Adds buildjs task * Adds Travis-CI integration * adds clean task * Extracts buildjs task into its own file * Adds build image task * Adds css build task
* The default task now runs both build and test * Travis now runs `gulp` instead of `gulp build` * Adds 'test' to package.json scripts * Restores jspm's config.js * Per jspm docs, adds jspm as npm devDependency * Travis now runs npm & jspm locally, not globally * TODO: setup PhantomJS testing * Currently, the parsers and validators are tested * BUT the UI code is NOT tested * We must add UI code testing at some point.
* Also, removes cached files which shouldn't be in the index.
84d9ce4 to
03bc39a
Compare
|
@nateabele @gavD @ovaska Feedback appreciated. |
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.
TODO remove?
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.
Yes. Those files current go into root. I'd prefer them to be in build/ and dist/, but I haven't found a way to do so without breaking everything. Wherever they go, they should not be committed to the repo, but rather be generated in the by gulp build. For the time being, they're stuck in root until I find a better solution.
* This implements [these instructions](https://github.com/jspm/jspm-cli/wiki/Registries#travis-ci). * Security Note: It is safe to commit the encrypted string to version control. Only Travis can unlock it.
732ab58 to
593485e
Compare
850af9b to
b05c3d3
Compare
NOMERGE PR.js Build Improvements
Please note
Overall Goal
build/dir for development & adist/dir where everything works "out of the box"Completed
gulp servenow has live reloadimg/go todist/buildjstask is incompletebuild.min.jsandbuild.min.js.maps. If there is other JS that needs minification, it hasn't been done yet.parsers/andvalidators/are tested, but notUI/Incomplete
UI/tests with PhantomJSwatchisn't set upConclusion