From ad22c4aea9dd204f8a925d01fe5e44e62c0740fc Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Thu, 28 Mar 2024 01:27:28 +0330 Subject: [PATCH] update compile.js file ... --- compile.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/compile.js b/compile.js index 83ed6527..88279971 100644 --- a/compile.js +++ b/compile.js @@ -20,7 +20,13 @@ const excludeWorkspaceFolders = [ "Projects", "Scripts", "Services", - "Shared Projects" + "Shared Projects", + // + // Exclude Defaults ... + "Examples", + "Free Indicators", + "Advisors", + "Free Robots" ]; // @@ -385,6 +391,13 @@ async function extractFiles(path = "", ext = []) { result.push(cPath); } } else if (isCDirectory) { + // + const destFolderName = XFileTools.basename(cPath); + const isExcluded = excludeWorkspaceFolders.includes(destFolderName); + if (isExcluded) { + continue; + } + // const cFiles = await extractFiles(cPath, ext); if (cFiles && cFiles.length > 0) {