-
-
Save rcarmo/60e45e727a736d2630df937d21ee6254 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