jakejs / jake

JavaScript build tool, similar to Make or Rake. Built to work with Node.js.
http://jakejs.com
Apache License 2.0
1.97k stars 190 forks source link

Installer #278

Closed tim-lebedkov closed 9 years ago

tim-lebedkov commented 9 years ago

please create a self-contained .zip (or .exe or .msi) installation for Windows

mde commented 9 years ago

This is an interesting request -- would you expect that something like this has Node bundled with it?

tim-lebedkov commented 9 years ago

If it is possible to bundle Node, I would definitely recommend to do it. Although Node is quite popular, a general Make like tool should be installable without any dependencies. The easier the installation, the more people would use it.

I would actually recommend an .msi created with AdvancedInstaller. It is really easy and can be automated. I use it for Npackd and recommended it to the "just-install" author who also switched to this tool.

SirAnthony commented 9 years ago

Npm is part of node package, you need node anyway to run jake. I missed the point of this. You want bundle of node & jake? It is simple to write bat script to download jake, then do npm (not that simple based on my experience, because npm will miss its modules path just after install and you need to restart for env change).

MichaelPaulukonis commented 9 years ago

"If you use Node, use Jake" makes sense; but "You should use Jake, so here's Node" makes less sense, because you have to explain node et alia.

Are there any node packages that have self-contained Windows installers outside of the node environment?

Besides, just do cinst nodejs.install then npm -i -g jake

mde commented 9 years ago

Yes, Node has both .msi and .exe installers for Windows: http://nodejs.org/download/

It would be easy to implement @MichaelPaulukonis's suggestion as a BAT file.

I'm going to go ahead and close this issue, since bundling Node (or now, IO.js) with Jake seems a bit backward, and is really outside the scope of what Jake provides.