Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Build system refactor #480
This upgrades the current build system to Grunt .4 (being released tomorrow) and converts the Gruntfile to CoffeeScript. Adds Uglify for minification and CSS minification. Much cleaner build/dist directory, and less repetitive tasks. Also adds a
The only really subjective part of this PR is that I've pulled out all hard-copied source files from the repo, meaning demos will no longer work directly after checking out the repo (must be built first). Let me know if there are objections, but this is a much cleaner way to maintain the source. Full built files will still be available in the download/release of course.
I like not having to maintain released file in src (requiring build to run the demo).
I think we will need to put back "concat task" soon. As I was trying to write some unit tests, I found that it would be better if we factor out some piece into its own files. And, having the build step to reassemble it.
I am not sure about including Zepto's touch.js with jQTouch. Sometimes I use third-party library that must use jQuery. For those projects, it might be easier to jQuery first.
I was going to upgrade it to grunt 0.4. Thanks for doing it.
It is now definitely much cleaner. Thanks a lot!
I haven't checked out the source and try. Give me till end of Monday.
No problem on Monday. I was actually planning on looking at testing separately... Might switch to mocha from qunit, and will definitely be doing more building/concating in that area. Also: Just realized the tests are failing, prob because they reference minified versions, will fix that now.
Sorry, what do you mean about including Zepto with jQuery?
Disregard my comment on that. I misread your email. I thought you wanted to include Zepto's touch in jQT. But, you said you wanted to include our version of touch back into jQT.
I like the idea of supporting more touch capacity than zepto. I like how Zepto's touch layout their code. So, the ideal thing to do might be rewriting ours base on theirs.