mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Use node v0.8.1 / allow node v0.8
This commit is contained in:
parent
9d35b51500
commit
02ce537c68
2 changed files with 5 additions and 5 deletions
|
@ -35,8 +35,8 @@ fi
|
||||||
|
|
||||||
#check node version
|
#check node version
|
||||||
NODE_VERSION=$(node --version)
|
NODE_VERSION=$(node --version)
|
||||||
if [ ! $(echo $NODE_VERSION | cut -d "." -f 1-2) = "v0.6" ]; then
|
if [ ! $(echo $NODE_VERSION | cut -d "." -f 1-2) = "v0.8" ]; then
|
||||||
echo "You're running a wrong version of node, you're using $NODE_VERSION, we need v0.6.x" >&2
|
echo "You're running a wrong version of node, you're using $NODE_VERSION, we need v0.8.x" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@echo off
|
@echo off
|
||||||
set NODE_VERSION=0.6.5
|
set NODE_VERSION=0.8.1
|
||||||
set JQUERY_VERSION=1.7
|
set JQUERY_VERSION=1.7
|
||||||
|
|
||||||
:: change directory to etherpad-lite root
|
:: change directory to etherpad-lite root
|
||||||
|
@ -22,8 +22,8 @@ echo _
|
||||||
echo Copying custom templates...
|
echo Copying custom templates...
|
||||||
set custom_dir=node_modules\ep_etherpad-lite\static\custom
|
set custom_dir=node_modules\ep_etherpad-lite\static\custom
|
||||||
FOR %%f IN (index pad timeslider) DO (
|
FOR %%f IN (index pad timeslider) DO (
|
||||||
if NOT EXIST %custom_dir%\%%f.js copy %custom_dir%\js.template %custom_dir%\%%f.js
|
if NOT EXIST "%custom_dir%\%%f.js" copy "%custom_dir%\js.template" "%custom_dir%\%%f.js"
|
||||||
if NOT EXIST %custom_dir%\%%f.css copy %custom_dir%\css.template %custom_dir%\%%f.css
|
if NOT EXIST "%custom_dir%\%%f.css" copy "%custom_dir%\css.template" "%custom_dir%\%%f.css"
|
||||||
)
|
)
|
||||||
|
|
||||||
echo _
|
echo _
|
||||||
|
|
Loading…
Reference in a new issue