Re:How to Distribute Binaries for OS X Using Homebrew
by davexunit on Monday February 15, 2016 @06:25PM
(#11106849)
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.
[ Parent
| on HN ]
Re:How to Distribute Binaries for OS X Using Homebrew
by matthewbauer on Monday February 15, 2016 @06:28PM
(#11106861)
Wouldn'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.
Re:How to Distribute Binaries for OS X Using Homebrew
by mwcampbell on Monday February 15, 2016 @10:22PM
(#11107703)
npm 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.