update compile.js file ...
This commit is contained in:
+14
-1
@@ -20,7 +20,13 @@ const excludeWorkspaceFolders = [
|
|||||||
"Projects",
|
"Projects",
|
||||||
"Scripts",
|
"Scripts",
|
||||||
"Services",
|
"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);
|
result.push(cPath);
|
||||||
}
|
}
|
||||||
} else if (isCDirectory) {
|
} else if (isCDirectory) {
|
||||||
|
//
|
||||||
|
const destFolderName = XFileTools.basename(cPath);
|
||||||
|
const isExcluded = excludeWorkspaceFolders.includes(destFolderName);
|
||||||
|
if (isExcluded) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
const cFiles = await extractFiles(cPath, ext);
|
const cFiles = await extractFiles(cPath, ext);
|
||||||
if (cFiles && cFiles.length > 0) {
|
if (cFiles && cFiles.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user