MCPcopy Create free account
hub / github.com/krausest/js-framework-benchmark / createFrameworkZipArchive

Function createFrameworkZipArchive

cli/zip.js:71–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}
70
71export function createFrameworkZipArchive() {
72 console.log("Create a zip archive of frameworks");
73
74 for (const frameworkType of frameworksTypes) {
75 const frameworkTypeDirPath = path.resolve("frameworks", frameworkType);
76 const frameworkNames = fs.readdirSync(frameworkTypeDirPath);
77
78 for (const frameworkName of frameworkNames) {
79 const frameworkPath = path.resolve(frameworkTypeDirPath, frameworkName);
80 console.log("zipping", frameworkPath);
81
82 addFrameworksToZip(frameworkType, frameworkPath, frameworkName);
83 }
84 }
85
86 zip.writeZip(outputFile);
87}

Callers

nothing calls this directly

Calls 2

addFrameworksToZipFunction · 0.85
resolveMethod · 0.45

Tested by

no test coverage detected