Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With this sort of tool, I always have to ask myself: is it better than a Makefile?

https://github.com/mathquill/mathquill/blob/dev/Makefile

Yes, Makefiles don't have magic syntax for qunit, but they're incredibly flexible.



I've used both Makefiles and Grunt for projects and I much prefer Grunt:

* I find the js syntax of gruntfiles much cleaner and harmonious with the js code I'm writing for my projects

* From what I've seen, Makefiles are meant to create output files - seems like Grunt can be set up more easily for things meant for display (linting, etc)

* Better ecosystem with grunt plugins: https://github.com/cowboy/grunt/blob/master/docs/plugins.md


Agreed. And if you need cross-platform support (and the bonus of being JavaScript), try https://github.com/arturadib/shelljs


ShellJS looks great! Thank you.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: