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

Function copyProjectToDist

cli/copy.js:92–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 * and then starts copying the project folders recursively using `processDirectories()`.
91 */
92export function copyProjectToDist() {
93 console.log("Copying project to dist directory");
94
95 fs.rmSync("dist", { force: true, recursive: true });
96 fs.mkdirSync(path.join("dist", "webdriver-ts"), { recursive: true });
97
98 fs.copyFileSync(path.join("webdriver-ts", "table.html"), path.join("dist", "webdriver-ts", "table.html"));
99 fs.copyFileSync("index.html", path.join("dist", "index.html"));
100
101 processDirectories();
102}

Callers

nothing calls this directly

Calls 1

processDirectoriesFunction · 0.85

Tested by

no test coverage detected