Commit e3ad84cb authored by Alexey.Golubev's avatar Alexey.Golubev Committed by Alexander.Trofimov

запуск таски deploy_sdk вынесен из конфигов в grunt.js. По умолчанию таска только собирает сдк.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53281 954022d7-b5bf-4e40-9824-e11837661b57
parent 94f8eb01
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
cd /D %~dp0 cd /D %~dp0
@echo on @echo on
call grunt.cmd build_all call grunt.cmd --no-color
pause pause
\ No newline at end of file
...@@ -81,8 +81,12 @@ module.exports = function(grunt) { ...@@ -81,8 +81,12 @@ module.exports = function(grunt) {
grunt.registerTask('build_webword_server', 'setup_tools build_webword_server_init build_sdk'); grunt.registerTask('build_webword_server', 'setup_tools build_webword_server_init build_sdk');
grunt.registerTask('build_webexcel', 'setup_tools build_webexcel_init build_sdk'); grunt.registerTask('build_webexcel', 'setup_tools build_webexcel_init build_sdk');
grunt.registerTask('build_webpowerpoint', 'setup_tools build_webpowerpoint_init build_sdk'); grunt.registerTask('build_webpowerpoint', 'setup_tools build_webpowerpoint_init build_sdk');
grunt.registerTask('build_all', 'setup_tools build_webword_init build_sdk build_webexcel_init build_sdk build_webpowerpoint_init build_sdk');
grunt.registerTask('cleanup_and_build_all', 'setup_tools cleanup_deploy_folder build_webword_init build_sdk build_webexcel_init build_sdk build_webpowerpoint_init build_sdk'); grunt.registerTask('deploy_sdk_all', 'setup_tools build_webword_init deploy_sdk build_webexcel_init deploy_sdk build_webpowerpoint_init deploy_sdk');
grunt.registerTask('build_all_without_deploy', 'setup_tools build_webword_init build_sdk build_webexcel_init build_sdk build_webpowerpoint_init build_sdk');
grunt.registerTask('build_all', 'build_all_without_deploy deploy_sdk_all');
grunt.registerTask('cleanup_and_build_all', 'setup_tools cleanup_deploy_folder build_all');
grunt.registerTask('up_sdk_src_init', 'Update SDK source', function() { grunt.registerTask('up_sdk_src_init', 'Update SDK source', function() {
grunt.initConfig({ grunt.initConfig({
...@@ -244,5 +248,5 @@ module.exports = function(grunt) { ...@@ -244,5 +248,5 @@ module.exports = function(grunt) {
grunt.registerTask('deploy_sdk', 'deploy_sdk_init copy'); grunt.registerTask('deploy_sdk', 'deploy_sdk_init copy');
grunt.registerTask('default', 'update_sources build_all commit_logs'); grunt.registerTask('default', 'build_all_without_deploy');
}; };
\ No newline at end of file
@echo off @echo off
cd /D %~dp0
echo Installation grunt and grunt-contrib echo Installation grunt and grunt-contrib
call npm install -g grunt@0.3.17 call npm install -g grunt@0.3.17
call npm install grunt-contrib@0.3.0 call npm install grunt-contrib@0.3.0
......
...@@ -212,6 +212,6 @@ ...@@ -212,6 +212,6 @@
} }
}, },
"tasks": { "tasks": {
"build": "increment_build extract_js_api compile_sdk deploy_sdk" "build": "increment_build extract_js_api compile_sdk"
} }
} }
\ No newline at end of file
...@@ -202,6 +202,6 @@ ...@@ -202,6 +202,6 @@
} }
}, },
"tasks": { "tasks": {
"build": "increment_build concat_js_api extract_js_api compile_sdk deploy_sdk" "build": "increment_build concat_js_api extract_js_api compile_sdk"
} }
} }
\ No newline at end of file
...@@ -214,6 +214,6 @@ ...@@ -214,6 +214,6 @@
} }
}, },
"tasks": { "tasks": {
"build": "increment_build concat_js_api extract_js_api compile_sdk deploy_sdk" "build": "increment_build concat_js_api extract_js_api compile_sdk"
} }
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment