Created
June 13, 2015 14:19
-
-
Save hnakamur/13808187bf59e47456c3 to your computer and use it in GitHub Desktop.
get and build node9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
basedir=`pwd` | |
mkdir -p "$basedir/github.com/jvburnes" | |
git clone https://github.com/jvburnes/node9 "$basedir/github.com/jvburnes/node9" | |
mkdir -p "$basedir/github.com/stevedonovan" | |
git clone https://github.com/stevedonovan/Penlight "$basedir/github.com/stevedonovan/Penlight" | |
cd "$basedir/github.com/jvburnes/node9/libuv" | |
./autogen.sh | |
./configure | |
make | |
cd "$basedir/github.com/jvburnes/node9" | |
for f in src/libnode9.make src/node9.make src/styx/libs/lib9/Makefile src/styx/libs/libbio/Makefile src/styx/libs/libsec/port/Makefile src/styx/utils/Makefile; do | |
sed -i '' -e "s|/Users/jburnes/dev/node9|$basedir/github.com/jvburnes/node9|" $f | |
done | |
make | |
ln -s "$basedir/github.com/stevedonovan/Penlight/lua/pl" pl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisite
Usage
build
run an example session
Now follow the 'Example Session ' at https://github.com/jvburnes/node9/blob/master/doc/node9-hackers-guide.txt