[build] Build

New build
This commit is contained in:
Alexander.Trofimov
2019-12-02 17:23:52 +03:00
parent 4cc864b17b
commit 425f29b548

33
run.bat
View File

@ -25,10 +25,11 @@ call restart-rabbit.bat
ECHO.
ECHO ----------------------------------------
ECHO copy file to converter
ECHO Build modules
ECHO ----------------------------------------
call update-core.bat
cd /D "%~dp0\..\build_tools"
call python configure.py --branch develop --module develop --update 1 --update-light 1 --clean 0 --sdkjs-addon comparison
call python make.py
mkdir "%~dp0\App_Data"
@ -36,32 +37,6 @@ mkdir "%~dp0\SpellChecker\dictionaries"
cd /D "%~dp0\SpellChecker" || goto ERROR
xcopy /s/e/k/c/y/q "..\..\dictionaries" ".\dictionaries"
ECHO.
ECHO ----------------------------------------
ECHO Start build skd-all.js
ECHO ----------------------------------------
CD /D %~dp0\..\sdkjs\build
call npm install -g grunt-cli
call npm install
call grunt --src="./configs" --level=WHITESPACE_ONLY --formatting=PRETTY_PRINT
ECHO.
ECHO ----------------------------------------
ECHO Start build web-apps
ECHO ----------------------------------------
CD /D %~dp0\..\web-apps\build
call npm install
CD /D %~dp0\..\web-apps\build\sprites
call npm install
call grunt
ECHO.
ECHO ----------------------------------------
ECHO Start build themes.js
ECHO ----------------------------------------
CD /D %~dp0\FileConverter\Bin
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS=32&&set OS2=x86||set OS=64&& set OS2=x64
"core\build\bin\win_%OS%\allthemesgen.exe" --converter-dir="%~dp0\FileConverter\Bin" --src="%~dp0\..\sdkjs\slide\themes" --output="%~dp0\..\sdkjs\common\Images"
ECHO.
ECHO ----------------------------------------