mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
Отдельно вынесен билд из инсталяции компонентов nodejs. Т.к. планируется хранить node_modules gjl svn.
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/nodeJSProjects@54066 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander.Trofimov
parent
f626c22318
commit
b48cbe729c
@ -15,7 +15,7 @@ call npm install sockjs --production|| exit /b 1
|
|||||||
call npm install mongodb@1.1.4 --production || exit /b 1
|
call npm install mongodb@1.1.4 --production || exit /b 1
|
||||||
|
|
||||||
cd /D ..\Common || exit /b 1
|
cd /D ..\Common || exit /b 1
|
||||||
call npm install log4js --production || exit /b 1
|
call npm install log4js@0.6.2 --production || exit /b 1
|
||||||
|
|
||||||
CD /D %RUN_FOLDER% || exit /b 1
|
CD /D %RUN_FOLDER% || exit /b 1
|
||||||
|
|
||||||
|
|||||||
22
SpellChecker/install/BuildNodeJSSpellCheck.bat
Normal file
22
SpellChecker/install/BuildNodeJSSpellCheck.bat
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
ECHO OFF
|
||||||
|
|
||||||
|
SET RUN_FOLDER=%CD%
|
||||||
|
|
||||||
|
CD /D %~dp0..\ || exit /b 1
|
||||||
|
|
||||||
|
ECHO.
|
||||||
|
ECHO ----------------------------------------
|
||||||
|
ECHO Build node.js module spellCheck (nodehun)
|
||||||
|
ECHO ----------------------------------------
|
||||||
|
|
||||||
|
call npm install -g node-gyp || exit /b 1
|
||||||
|
|
||||||
|
XCOPY /S nodehun node_modules\nodehun\ /Y
|
||||||
|
|
||||||
|
cd /D node_modules\nodehun\src || exit /b 1
|
||||||
|
call node-gyp configure || exit /b 1
|
||||||
|
call node-gyp build || exit /b 1
|
||||||
|
|
||||||
|
CD /D %RUN_FOLDER% || exit /b 1
|
||||||
|
|
||||||
|
exit /b 0
|
||||||
@ -12,16 +12,8 @@ ECHO ----------------------------------------
|
|||||||
call npm install express --production || exit /b 1
|
call npm install express --production || exit /b 1
|
||||||
call npm install sockjs --production || exit /b 1
|
call npm install sockjs --production || exit /b 1
|
||||||
|
|
||||||
call npm install -g node-gyp || exit /b 1
|
cd /D ..\Common || exit /b 1
|
||||||
|
call npm install log4js@0.6.2 --production || exit /b 1
|
||||||
XCOPY /S nodehun node_modules\nodehun\ /Y
|
|
||||||
|
|
||||||
cd /D node_modules\nodehun\src || exit /b 1
|
|
||||||
call node-gyp configure || exit /b 1
|
|
||||||
call node-gyp build || exit /b 1
|
|
||||||
|
|
||||||
cd /D ..\..\..\..\Common || exit /b 1
|
|
||||||
call npm install log4js@0.6.2 --production --no-optional || exit /b 1
|
|
||||||
|
|
||||||
CD /D %RUN_FOLDER% || exit /b 1
|
CD /D %RUN_FOLDER% || exit /b 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user