[deploy] extended 'clean' options

This commit is contained in:
Maxim Kadushkin 2021-05-24 15:39:26 +03:00
parent a68c38f83c
commit 442d440c19
4 changed files with 20 additions and 11 deletions

View file

@ -275,10 +275,10 @@ module.exports = function(grunt) {
force: true
},
prebuild: {
src: packageFile['main']['clean']
src: packageFile.main.clean.prebuild
},
postbuild: {
src: packageFile.main.svgicons.clean
src: [...packageFile.main.svgicons.clean, ...packageFile.main.clean.postbuild]
}
},

View file

@ -5,9 +5,12 @@
"homepage": "http://www.onlyoffice.com",
"private": true,
"main": {
"clean": [
"../deploy/web-apps/apps/documenteditor/main"
],
"clean": {
"prebuild": [
"../deploy/web-apps/apps/documenteditor/main"
],
"postbuild": []
},
"js": {
"requirejs": {
"options": {

View file

@ -5,9 +5,12 @@
"homepage": "http://www.onlyoffice.com",
"private": true,
"main": {
"clean": [
"../deploy/web-apps/apps/presentationeditor/main"
],
"clean": {
"prebuild": [
"../deploy/web-apps/apps/presentationeditor/main"
],
"postbuild": []
},
"js": {
"requirejs": {
"options": {

View file

@ -5,9 +5,12 @@
"homepage": "http://www.onlyoffice.com",
"private": true,
"main": {
"clean": [
"../deploy/web-apps/apps/spreadsheeteditor/main"
],
"clean": {
"prebuild": [
"../deploy/web-apps/apps/spreadsheeteditor/main"
],
"postbuild": []
},
"js": {
"requirejs": {
"options": {