express dropped support for node 0.8; update engine requirements

This commit is contained in:
Tom Hunkapiller 2015-04-07 21:00:44 -05:00
parent d0b39c01fb
commit 63cbab484d
4 changed files with 5 additions and 5 deletions

View file

@ -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 _