Searched refs:projectPath (Results 1 – 3 of 3) sorted by relevance
70 for (const projectPath of projectPaths) { constant71 if (!fs.existsSync(projectPath)) {72 console.error(`File ${FileUtils.getFileName(projectPath)} is not found.`);76 const sourcPath = isOHProject ? path.join(projectPath, 'src', 'main') : projectPath;78 const sdkProperties: string[] = readThirdPartyLibProperties(projectPath);93 function readThirdPartyLibProperties(projectPath: string): string[] {96 if (!fs.lstatSync(projectPath).isDirectory()) {101 const fileNames: string[] = fs.readdirSync(projectPath);108 throw new Error(`There are both node_modules and oh_modules folders in ${projectPath}`);113 filePath = path.join(projectPath, 'node_modules');[all …]
542 export function parseCommonProject(projectPath): string[] {545 if (fs.lstatSync(projectPath).isFile()) {546 … if (projectPath.endsWith('.ets') || projectPath.endsWith('.ts') || projectPath.endsWith('.js')) {547 parseFile(projectPath, ApiType.PROJECT);550 traverseApiFiles(projectPath, ApiType.PROJECT);
2 …projectPath:n,buildOrder:a,getCompilerOptions:function(){return i.options},getCurrentDirectory:fun…