diff options
author | Tom Hunkapiller <tom@furycodes.com> | 2015-04-07 21:00:44 -0500 |
---|---|---|
committer | Tom Hunkapiller <tom@furycodes.com> | 2015-04-08 23:12:11 -0500 |
commit | 63cbab484dd569796f2636363a069e7981a8e6ea (patch) | |
tree | b71f312df50cf13a89049dec5657426a1d67e9d3 /bin | |
parent | d0b39c01fbc06b6f5d92613e4b35732f7f9d90c7 (diff) | |
download | etherpad-lite-63cbab484dd569796f2636363a069e7981a8e6ea.zip |
express dropped support for node 0.8; update engine requirements
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/buildForWindows.sh | 2 | ||||
-rwxr-xr-x | bin/installDeps.sh | 4 | ||||
-rw-r--r-- | bin/installOnWindows.bat | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/bin/buildForWindows.sh b/bin/buildForWindows.sh index 78441ba0..212e946b 100755 --- a/bin/buildForWindows.sh +++ b/bin/buildForWindows.sh @@ -1,6 +1,6 @@ #!/bin/sh -NODE_VERSION="0.8.4" +NODE_VERSION="0.10.38" #Move to the folder where ep-lite is installed cd `dirname $0` diff --git a/bin/installDeps.sh b/bin/installDeps.sh index a5e4d5ab..f2a3aafc 100755 --- a/bin/installDeps.sh +++ b/bin/installDeps.sh @@ -50,9 +50,9 @@ NODE_V_MINOR=$(echo $NODE_VERSION | cut -d "." -f 1-2) if hash iojs 2>/dev/null; then IOJS_VERSION=$(iojs --version) fi -if [ ! $NODE_V_MINOR = "v0.8" ] && [ ! $NODE_V_MINOR = "v0.10" ] && [ ! $NODE_V_MINOR = "v0.11" ] && [ ! $NODE_V_MINOR = "v0.12" ]; then +if [ ! $NODE_V_MINOR = "v0.10" ] && [ ! $NODE_V_MINOR = "v0.11" ] && [ ! $NODE_V_MINOR = "v0.12" ]; then if [ ! $IOJS_VERSION ]; then - echo "You're running a wrong version of node, or io.js is not installed. You're using $NODE_VERSION, we need v0.8.x, v0.10.x, v0.11.x or v0.12.x" >&2 + echo "You're running a wrong version of node, or io.js is not installed. You're using $NODE_VERSION, we need v0.10.x, v0.11.x or v0.12.x" >&2 exit 1 fi fi diff --git a/bin/installOnWindows.bat b/bin/installOnWindows.bat index 86223064..c1e0a822 100644 --- a/bin/installOnWindows.bat +++ b/bin/installOnWindows.bat @@ -8,7 +8,7 @@ cmd /C node -e "" || ( echo "Please install node.js ( http://nodejs.org )" && ex echo _ echo Checking node version... -set check_version="if(['8','10'].indexOf(process.version.split('.')[1].toString()) === -1) { console.log('You are running a wrong version of Node. Etherpad requires v0.8.x or v0.10.x'); process.exit(1) }" +set check_version="if(['10'].indexOf(process.version.split('.')[1].toString()) === -1) { console.log('You are running a wrong version of Node. Etherpad requires v0.10.x'); process.exit(1) }" cmd /C node -e %check_version% || exit /B 1 echo _ |