3 ms·
> So, when there are so many build systems out there, why make? > * it is supported on almost all systems Except the elephant in the room, Windows.
by Touche 13y ago
> So, when there are so many build systems out there, why make?
> * it is supported on almost all systems
Except the elephant in the room, Windows.
- smrtinsert 13y agoreminds me of the git monoculture article from a few days ago. Work best on Mac(tm)!
- davexunit 13y agoGNU Make can be used on Windows. Of course, it's easiest to use it on GNU/Linux or one of the other UNIX-like operating systems.
- Touche 13y agoYes but most Makefiles, including the one in this article, use commands that do not work on Windows.
- igl 13y agoThere is gnu-make for windows and unless your is makefile super elaborate, it works.
- Touche 13y agoThe makefile in this example wouldn't work on Windows. lessc should be lessc.cmd
- igl 13y agonode_modules/".bin"/lessc works! There are some subtile things like dirnames with dots need to be quoted but quoted forward slashes given to mkdir creates path seperator fuck ups C:\first/meh\second.. Annoying. But I still don't miss grunt :)
- Touche 13y agoI'm not a Windows computer right now, but I believe you can't execute Node globals without the .cmd, am I wrong? If you have lessc in your PATH can you just do lessc (as this article does) or must you do lessc.cmd?
- e40 13y agocygwin.com clears up that problem.