update compile.js file ...
This commit is contained in:
+14
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user