Remove workflow.xml runner and update CLI wording
This commit is contained in:
parent
1a1d4bed52
commit
de63874520
|
|
@ -195,7 +195,6 @@ async function runTests() {
|
|||
const searchRoots = [path.join(projectRoot, 'src'), path.join(projectRoot, 'docs')];
|
||||
const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']);
|
||||
const forbiddenRef = 'advanced-elicitation/workflow.xml';
|
||||
const excludedFile = path.join(projectRoot, 'src', 'core', 'workflows', 'advanced-elicitation', 'workflow.xml');
|
||||
const offenders = [];
|
||||
|
||||
const walk = async (dir) => {
|
||||
|
|
@ -209,9 +208,6 @@ async function runTests() {
|
|||
if (!allowedExtensions.has(path.extname(entry.name))) {
|
||||
continue;
|
||||
}
|
||||
if (fullPath === excludedFile) {
|
||||
continue;
|
||||
}
|
||||
const content = await fs.readFile(fullPath, 'utf8');
|
||||
if (content.includes(forbiddenRef)) {
|
||||
offenders.push(path.relative(projectRoot, fullPath));
|
||||
|
|
@ -257,9 +253,6 @@ async function runTests() {
|
|||
if (!allowedExtensions.has(path.extname(entry.name))) {
|
||||
continue;
|
||||
}
|
||||
if (fullPath === excludedFile) {
|
||||
continue;
|
||||
}
|
||||
const content = await fs.readFile(fullPath, 'utf8');
|
||||
if (content.includes(forbiddenRef)) {
|
||||
offenders.push(path.relative(projectRoot, fullPath));
|
||||
|
|
@ -291,10 +284,6 @@ async function runTests() {
|
|||
const searchRoots = [path.join(projectRoot, 'src'), path.join(projectRoot, 'docs'), path.join(projectRoot, 'tools')];
|
||||
const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']);
|
||||
const forbiddenRef = 'workflow.xml';
|
||||
const excludedFiles = new Set([
|
||||
path.join(projectRoot, 'src', 'core', 'tasks', 'workflow.xml'),
|
||||
path.join(projectRoot, 'src', 'core', 'workflows', 'advanced-elicitation', 'workflow.xml'),
|
||||
]);
|
||||
const offenders = [];
|
||||
|
||||
const walk = async (dir) => {
|
||||
|
|
@ -308,9 +297,6 @@ async function runTests() {
|
|||
if (!allowedExtensions.has(path.extname(entry.name))) {
|
||||
continue;
|
||||
}
|
||||
if (excludedFiles.has(fullPath)) {
|
||||
continue;
|
||||
}
|
||||
const content = await fs.readFile(fullPath, 'utf8');
|
||||
if (content.includes(forbiddenRef)) {
|
||||
offenders.push(path.relative(projectRoot, fullPath));
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ class ManifestGenerator {
|
|||
}
|
||||
|
||||
/**
|
||||
* Recursively find and parse workflow.yaml and workflow.md files
|
||||
* Recursively find and parse workflow definition files
|
||||
*/
|
||||
async getWorkflowsFromPath(basePath, moduleName) {
|
||||
const workflows = [];
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ class BaseIdeSetup {
|
|||
}
|
||||
|
||||
/**
|
||||
* Recursively find workflow files (workflow.yaml or workflow.md)
|
||||
* Recursively find workflow definition files
|
||||
* @param {string} dir - Directory to search
|
||||
* @returns {Array} List of workflow file info objects
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue