Adding OS X .dmg build scripts.
authorStanda Opichal <opichals@gmail.com>
Tue, 26 Jan 2010 19:48:51 +0000 (20:48 +0100)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 27 Jan 2010 22:12:31 +0000 (14:12 -0800)
commit5a702240813b172d096961edb4c461973b09998b
tree9ebf7bf1de5788627905d9e943858cdc1d035fad
parent1bb52947e06d5047d4d9e9945137fcb8c186d581
Adding OS X .dmg build scripts.

Simply place this into the root of your nodejs git working copy and
run ./tools/osx-dist.sh. It will create an dist-osx folder which will
comprise of the resulting .dmg file (install path is
/usr/local/nodejs with symlinks added to /usr/local/bin) along with
other files used during its construction.

$ ls -1 dist-osx/
nodejs-v0.1.26-11-gcd6397c
nodejs-v0.1.26-11-gcd6397c.dmg
nodejs-v0.1.26-11-gcd6397c.pkg
nodejs-v0.1.26-11-gcd6397c.plist

The resulting installed package is going to be visible using the
OS X 'pkgutil --packages' command. You can even safely uninstall
sudoing 'pkgutil --unlink org.nodejs.NodeJS-...' and subsequently
let the system forget about the package being ever seen by
'pkgutil --forget org.nodejs.NodeJS-...'.

Here is the current package ID I have installed:

$ pkgutil --pkgs | grep node
org.nodejs.NodeJS-v0.1.26-11-gcd6397c

Use this patch freely without hesitation.

Signed-off-by: Standa Opichal <opichals@gmail.com>
tools/osx-dist.sh [new file with mode: 0755]
tools/osx-pkg-dmg-create.sh [new file with mode: 0755]