4 ms·
Using npm to distribute a shell script, seriously? That's not such a good idea. I think what you want is something like the Autotools so your software may be
by davexunit 11y ago
Using npm to distribute a shell script, seriously? That's not such a good idea. I think what you want is something like the Autotools so your software may be installed with the standard './configure && make && make install'. This way, you make it easy for upstream distributions to package your software.
- matthewbauer 11y agoWouldn't that have issues with Windows? I'm not a huge fan of NPM but it works really well when you want to be cross platform.
- mwcampbell 11y agonpm only works well for Windows if the program you're distributing is itself in JavaScript using Node. If you're using npm to distribute a shell script, then you still need a Unixy environment for Windows like Cygwin or MSYS, and in that case, autotools is probably no worse.