Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (23 sloc) 0.429 kb
#!/bin/bash
if [ ${#1} -eq 0 ]; then
echo "Usage: ./build.sh TAG"
exit 1
fi
OS=`uname | awk '{print tolower($0)}'`
TAG=$1
if [ $OS == "sunos" ]; then
MAKE=gmake
else
MAKE=make
fi
git clone git@github.com:ajaxorg/node
cd node
git remote add upstream git://github.com/joyent/node
git fetch origin
git fetch upstream
git checkout $TAG
$MAKE clean
./configure
$MAKE
mkdir -p ../bin
cp node ../bin/node-$OS-$TAG
Jump to Line
Something went wrong with that request. Please try again.