mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Build test editors
This commit is contained in:
@ -745,7 +745,10 @@ module.exports = function(grunt) {
|
||||
doRegisterInitializeAppTask('documenteditor', 'DocumentEditor', 'documenteditor.json');
|
||||
doRegisterInitializeAppTask('spreadsheeteditor', 'SpreadsheetEditor', 'spreadsheeteditor.json');
|
||||
doRegisterInitializeAppTask('presentationeditor', 'PresentationEditor', 'presentationeditor.json');
|
||||
doRegisterInitializeAppTask('testeditor', 'TestEditor', 'testeditor.json');
|
||||
|
||||
doRegisterInitializeAppTask('testdocumenteditor', 'TestDocumentEditor', 'testdocumenteditor.json');
|
||||
doRegisterInitializeAppTask('testpresentationeditor', 'TestPresentationEditor', 'testpresentationeditor.json');
|
||||
doRegisterInitializeAppTask('testspreadsheeteditor', 'TestSpreadsheetEditor', 'testspreadsheeteditor.json');
|
||||
|
||||
grunt.registerTask('deploy-app', 'Deploy application.', function(){
|
||||
if (packageFile) {
|
||||
@ -769,7 +772,9 @@ module.exports = function(grunt) {
|
||||
grunt.registerTask('deploy-spreadsheeteditor', ['deploy-common-component', 'deploy-spreadsheeteditor-component']);
|
||||
grunt.registerTask('deploy-presentationeditor', ['deploy-common-component', 'deploy-presentationeditor-component']);
|
||||
|
||||
grunt.registerTask('deploy-testeditor', ['init-build-testeditor', 'deploy-app']);
|
||||
grunt.registerTask('deploy-testdocumenteditor', ['init-build-testdocumenteditor', 'deploy-app']);
|
||||
grunt.registerTask('deploy-testpresentationeditor', ['init-build-testpresentationeditor', 'deploy-app']);
|
||||
grunt.registerTask('deploy-testspreadsheeteditor', ['init-build-testspreadsheeteditor', 'deploy-app']);
|
||||
|
||||
grunt.registerTask('default', ['deploy-common-component',
|
||||
'deploy-documenteditor-component',
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "testeditor",
|
||||
"name": "testdocumenteditor",
|
||||
"version": "4.3.0",
|
||||
"build": 1152,
|
||||
"build": 1153,
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"test": {
|
||||
41
build/testpresentationeditor.json
Normal file
41
build/testpresentationeditor.json
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "testpresentationeditor",
|
||||
"version": "4.3.0",
|
||||
"build": 1153,
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"test": {
|
||||
"clean": {
|
||||
"prebuild": [
|
||||
"../deploy/web-apps/test/presentationeditor/main"
|
||||
]
|
||||
},
|
||||
"js": {
|
||||
"src": [
|
||||
"../test/common/Gateway.js",
|
||||
"../test/common/main/lib/util/utils.js",
|
||||
"../test/presentationeditor/main/js/ApplicationView.js",
|
||||
"../test/presentationeditor/main/js/ApplicationController.js",
|
||||
"../test/presentationeditor/main/js/application.js"
|
||||
],
|
||||
"dist": "../deploy/web-apps/test/presentationeditor/main/app-all.js"
|
||||
},
|
||||
"less": {
|
||||
"files": {
|
||||
"src": "../test/presentationeditor/main/resources/less/application.less",
|
||||
"dist": "../deploy/web-apps/test/presentationeditor/main/resources/css/app-all.css"
|
||||
}
|
||||
},
|
||||
"copy": {
|
||||
"index-page": {
|
||||
"../deploy/web-apps/test/presentationeditor/main/index.html": "../test/presentationeditor/main/index.html.deploy"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tasks": {
|
||||
"deploy": [
|
||||
"increment-build",
|
||||
"deploy-app-test"
|
||||
]
|
||||
}
|
||||
}
|
||||
43
build/testspreadsheeteditor.json
Normal file
43
build/testspreadsheeteditor.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "testspreadsheeteditor",
|
||||
"version": "4.3.0",
|
||||
"build": 1153,
|
||||
"homepage": "http://www.onlyoffice.com",
|
||||
"private": true,
|
||||
"test": {
|
||||
"clean": {
|
||||
"prebuild": [
|
||||
"../deploy/web-apps/test/spreadsheeteditor/main"
|
||||
]
|
||||
},
|
||||
"js": {
|
||||
"src": [
|
||||
"../test/common/Gateway.js",
|
||||
"../test/common/main/lib/util/utils.js",
|
||||
"../test/spreadsheeteditor/main/js/CellEditorView.js",
|
||||
"../test/spreadsheeteditor/main/js/CellEditorController.js",
|
||||
"../test/spreadsheeteditor/main/js/ApplicationView.js",
|
||||
"../test/spreadsheeteditor/main/js/ApplicationController.js",
|
||||
"../test/spreadsheeteditor/main/js/application.js"
|
||||
],
|
||||
"dist": "../deploy/web-apps/test/spreadsheeteditor/main/app-all.js"
|
||||
},
|
||||
"less": {
|
||||
"files": {
|
||||
"src": "../test/spreadsheeteditor/main/resources/less/application.less",
|
||||
"dist": "../deploy/web-apps/test/spreadsheeteditor/main/resources/css/app-all.css"
|
||||
}
|
||||
},
|
||||
"copy": {
|
||||
"index-page": {
|
||||
"../deploy/web-apps/test/spreadsheeteditor/main/index.html": "../test/spreadsheeteditor/main/index.html.deploy"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tasks": {
|
||||
"deploy": [
|
||||
"increment-build",
|
||||
"deploy-app-test"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user