Building Zepto with Node.js & grunt #602

Closed
Hupotronic opened this Issue Sep 30, 2012 · 5 comments

Projects

None yet

4 participants

@Hupotronic

I wanted to build Zepto last night but wasn't in the mood for installing Ruby, so I decided to do some work and port the build tools to grunt instead. You can find the results here - just check out the gruntfile and usage instructions in the readme. I currently have the module listing, building and minifying working.

Now then, onto my question: Would Zepto be interested in this?

(I found #478, but the last comment there was six months ago. I didn't want to make a pull request yet since I haven't implemented automated unit testing, plus I'd like to see cowboy/grunt#453 fixed so there'd be no need to modify the header comments in all the src files)

@mislav
Collaborator
mislav commented Sep 30, 2012

Now then, onto my question: Would Zepto be interested in this?

We were kinda interested in a build system written in node but now
that I read the source of what you've written and the fact it needs a
3rd party lib that I've never heard of (Grunt) I'm not so sure
anymore.

I'd much rather have a build system in shell scripts if it would work
on Windows. If our build scripts were JS, I would much rather have
them in CoffeeScript.

I'm going to leave this open for now as an interesting idea.

@madrobby
Owner

I agree with @mislav—one of the nice things about what we have now is that it's relatively simple, which goes well together with Zepto's overall philosophy. A working build environment on Windows would be awesome, of course.

@Hupotronic

3rd party lib that I've never heard of (Grunt)

Grunt is probably the most popular JS build tool out there, so that's pretty surprising. jQuery uses it as well.

one of the nice things about what we have now is that it's relatively simple

"Relatively" indeed - I find grunt to be a much simpler solution than Ruby myself! (Not to mention more natural, what with Zepto being a JS library and all.)

A working build environment on Windows would be awesome, of course.

I use Windows myself. Installing Node.js and grunt are both incredibly easy and painless tasks.

Anyway, I guess I won't be making any pull requests for now. I can post updates here whenever I implement new tasks, though.

@mislav
Collaborator
mislav commented Sep 30, 2012

I can post updates here whenever I implement new tasks, though.

You can push to the same branch in your fork, and the PR will get updated.

Feel free to also post your new thoughts here in comments. We'll take
it all into consideration

@aeosynth

Mozilla uses shelljs to build some of their projects; it's more lightweight than grunt.

@mislav mislav added a commit that closed this issue Mar 2, 2013
@mislav mislav rewrite build system in node
Closes #602
ed7b86c
@mislav mislav closed this in ed7b86c Mar 2, 2013
@lopper lopper added a commit to buddydvd/zepto that referenced this issue Apr 24, 2013
@mislav @lopper mislav + lopper rewrite build system in node
Closes #602
feb4da6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment