Отдельно вынесен билд из инсталяции компонентов 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:
Alexey.Golubev
2014-01-31 14:36:32 +00:00
committed by Alexander.Trofimov
parent f626c22318
commit b48cbe729c
3 changed files with 25 additions and 11 deletions

View File

@ -15,7 +15,7 @@ call npm install sockjs --production|| exit /b 1
call npm install mongodb@1.1.4 --production || 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

View 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

View File

@ -12,16 +12,8 @@ ECHO ----------------------------------------
call npm install express --production || exit /b 1
call npm install sockjs --production || exit /b 1
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 ..\..\..\..\Common || exit /b 1
call npm install log4js@0.6.2 --production --no-optional || exit /b 1
cd /D ..\Common || exit /b 1
call npm install log4js@0.6.2 --production || exit /b 1
CD /D %RUN_FOLDER% || exit /b 1