This script allows to quickly package a binary nodejs distribution for the Cygwin (windows) platform. It creates a zip file containing node.exe, required libraries and some useful utilities such as bash, nano and cygrunsrv.
Obvously you'll need nodejs and the cygwin packages required to compile nodejs. Additionaly these cygwin packages are required:
- Archive -> zip
Just clone this repository somewhere inside the nodejs directory (e.g. in tools/).
git clone git://github.com/piscisaureus/nodejs-cygwin-package.git cygwin-package
Make sure is compiled. If it isn't, do that first. From the node dir:
Then just invoke the script. Depending on where you put it: