From 836e3bd251264c3647392e95eb6233d259d5859d Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Tue, 7 Jun 2022 19:29:03 +0300 Subject: [PATCH] [build] skip to copy some images for help --- build/common.json | 10 ++++++++++ build/documenteditor.json | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/build/common.json b/build/common.json index 5b56517c8..2dd34ff01 100644 --- a/build/common.json +++ b/build/common.json @@ -93,6 +93,16 @@ "themes": { "src": "../apps/common/main/resources/themes/themes.json", "dest": "../deploy/web-apps/apps/common/main/resources/themes/themes.json" + }, + "help": { + "expand": true, + "cwd": "../apps/common/main/resources/help/", + "src": [ + "**/*.{png,jpg,gif}", + "!*_/**", + "!**/src/**" + ], + "dest": "../deploy/web-apps/apps/common/main/resources/help/" } }, "imagemin": { diff --git a/build/documenteditor.json b/build/documenteditor.json index 76b63b587..47cfe95a9 100644 --- a/build/documenteditor.json +++ b/build/documenteditor.json @@ -170,7 +170,8 @@ "cwd": "../apps/documenteditor/main/resources/help/", "src": [ "**", - "!*_/**" + "!*_/**", + "!**/src/**" ], "dest": "../deploy/web-apps/apps/documenteditor/main/resources/help/" }