From 63cbab484dd569796f2636363a069e7981a8e6ea Mon Sep 17 00:00:00 2001 From: Tom Hunkapiller Date: Tue, 7 Apr 2015 21:00:44 -0500 Subject: express dropped support for node 0.8; update engine requirements --- bin/buildForWindows.sh | 2 +- bin/installDeps.sh | 4 ++-- bin/installOnWindows.bat | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') 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 _ -- cgit v1.2.3