| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 39dfc74 commit 1dc7faa
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,6 +88,8 @@ | |||
| 88 | 88 | "rebuild": "node generate && node-gyp configure build", | |
| 89 | 89 | "recompileDebug": "node-gyp configure --debug build", | |
| 90 | 90 | "rebuildDebug": "node generate && node-gyp configure --debug build", | |
| 91 | - "xcodeDebug": "node-gyp configure -- -f xcode" | ||
| 91 | + "xcodeDebug": "node-gyp configure -- -f xcode", | ||
| 92 | + "test2": "node lib/nodegit.js 2>&1 | grep libstdc++", | ||
| 93 | + "postinstall": "./postinstall.sh" | ||
| 92 | 94 | } | |
| 93 | 95 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,12 @@ | |||
| 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 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments