(frameworkId)
| 167 | } |
| 168 | |
| 169 | function createFramework(frameworkId) { |
| 170 | const frameworkDir = join(frameworksDir, frameworkId) |
| 171 | const project = scanProjectDirectory(frameworkDir) |
| 172 | |
| 173 | return { |
| 174 | ...frameworkMetadata[frameworkId], |
| 175 | ...project, |
| 176 | addOns: [ |
| 177 | ...scanCatalogDirectory(join(frameworkDir, 'add-ons')), |
| 178 | ...scanCatalogDirectory(join(frameworkDir, 'toolchains')), |
| 179 | ...scanCatalogDirectory(join(frameworkDir, 'examples')), |
| 180 | ...scanCatalogDirectory(join(frameworkDir, 'hosts')), |
| 181 | ], |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | function getTemplateKey(template) { |
| 186 | let hash = 0x811c9dc5 |
no test coverage detected