mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 02:29:58 +08:00
[deploy] copy common resources
This commit is contained in:
@ -240,6 +240,7 @@ module.exports = function(grunt) {
|
||||
}
|
||||
}
|
||||
});
|
||||
doRegisterTask('apps-common');
|
||||
doRegisterTask('sockjs');
|
||||
doRegisterTask('xregexp');
|
||||
doRegisterTask('megapixel');
|
||||
@ -604,6 +605,7 @@ module.exports = function(grunt) {
|
||||
var copyTask = grunt.option('desktop')? "copy": "copy:script";
|
||||
|
||||
grunt.registerTask('deploy-api', ['api-init', 'clean', copyTask, 'replace:writeVersion']);
|
||||
grunt.registerTask('deploy-apps-common', ['apps-common-init', 'clean', 'copy']);
|
||||
grunt.registerTask('deploy-sdk', ['sdk-init', 'clean', copyTask]);
|
||||
|
||||
grunt.registerTask('deploy-sockjs', ['sockjs-init', 'clean', 'copy']);
|
||||
|
||||
@ -79,6 +79,19 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"apps-common": {
|
||||
"clean": [
|
||||
"../deploy/web-apps/apps/common"
|
||||
],
|
||||
"copy": {
|
||||
"alphabetletters": {
|
||||
"expand": true,
|
||||
"cwd": "../apps/common/main/resources/alphabetletters",
|
||||
"src": "*.json",
|
||||
"dest": "../deploy/web-apps/apps/common/main/resources/alphabetletters"
|
||||
}
|
||||
}
|
||||
},
|
||||
"bootstrap": {
|
||||
"clean": [
|
||||
"../deploy/web-apps/vendor/bootstrap"
|
||||
@ -231,6 +244,7 @@
|
||||
"deploy": [
|
||||
"increment-build",
|
||||
"deploy-api",
|
||||
"deploy-apps-common",
|
||||
"deploy-sdk",
|
||||
"deploy-sockjs",
|
||||
"deploy-xregexp",
|
||||
|
||||
@ -157,12 +157,6 @@
|
||||
"src": "*",
|
||||
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/watermark"
|
||||
},
|
||||
{
|
||||
"expand": true,
|
||||
"cwd": "../apps/common/main/resources/alphabetletters",
|
||||
"src": "*.json",
|
||||
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/alphabetletters"
|
||||
},
|
||||
{
|
||||
"expand": true,
|
||||
"cwd": "../apps/common/main/resources/symboltable",
|
||||
|
||||
@ -151,12 +151,6 @@
|
||||
"src": "*",
|
||||
"dest": "../deploy/web-apps/apps/presentationeditor/main/locale/"
|
||||
},
|
||||
{
|
||||
"expand": true,
|
||||
"cwd": "../apps/common/main/resources/alphabetletters",
|
||||
"src": "*.json",
|
||||
"dest": "../deploy/web-apps/apps/presentationeditor/main/resources/alphabetletters"
|
||||
},
|
||||
{
|
||||
"expand": true,
|
||||
"cwd": "../apps/common/main/resources/symboltable",
|
||||
|
||||
@ -165,12 +165,6 @@
|
||||
"src": "*",
|
||||
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/resources/formula-lang"
|
||||
},
|
||||
{
|
||||
"expand": true,
|
||||
"cwd": "../apps/common/main/resources/alphabetletters",
|
||||
"src": "*.json",
|
||||
"dest": "../deploy/web-apps/apps/spreadsheeteditor/main/resources/alphabetletters"
|
||||
},
|
||||
{
|
||||
"expand": true,
|
||||
"cwd": "../apps/common/main/resources/symboltable",
|
||||
|
||||
Reference in New Issue
Block a user