File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 8888 "rebuild" : " node generate && node-gyp configure build" ,
8989 "recompileDebug" : " node-gyp configure --debug build" ,
9090 "rebuildDebug" : " node generate && node-gyp configure --debug build" ,
91- "xcodeDebug" : " node-gyp configure -- -f xcode"
91+ "xcodeDebug" : " node-gyp configure -- -f xcode" ,
92+ "postinstall" : " ./postinstall.sh"
9293 }
9394}
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ if [ -n " $( node lib/nodegit.js 2>&1 | grep libstdc++) " ]; then
4+ echo " [ERROR] Seems like you the latest libstdc++ is missing on your system!"
5+ echo " "
6+ echo " On Ubuntu you can install it using:"
7+ echo " "
8+ echo " $ sudo add-apt-repository ppa:ubuntu-toolchain-r/test"
9+ echo " $ sudo apt-get update"
10+ echo " $ sudo apt-get install libstdc++-4.9-dev"
11+ exit 1
12+ fi
You can’t perform that action at this time.
0 commit comments