完善云端RUN执行反馈
This commit is contained in:
@@ -12,6 +12,7 @@ await cp(join(appRoot, "index.html"), join(distDir, "index.html"));
|
||||
await cp(join(appRoot, "src"), join(distDir, "src"), { recursive: true });
|
||||
await copyLinuxCncManifest();
|
||||
await copyLinuxCncConfigAssets();
|
||||
await copyBundledTestLinuxCncSourceAssets();
|
||||
await copyKinematicsRuntimeAssets();
|
||||
await copyInterpreterRuntimeAssets();
|
||||
await copyTpRuntimeAssets();
|
||||
@@ -68,6 +69,13 @@ async function copyLinuxCncConfigAssets() {
|
||||
await cp(configSrcDir, vendorConfigDistDir, { recursive: true });
|
||||
}
|
||||
|
||||
async function copyBundledTestLinuxCncSourceAssets() {
|
||||
const testSourceDir = join(repoRoot, "web-rtcp-5axis-sim-plan/working_run/test_linuxcnc_source");
|
||||
const testSourceDistDir = join(distDir, "working_run/test_linuxcnc_source");
|
||||
await mkdir(testSourceDistDir, { recursive: true });
|
||||
await cp(testSourceDir, testSourceDistDir, { recursive: true });
|
||||
}
|
||||
|
||||
async function copyLinuxCncManifest() {
|
||||
const manifestDistDir = join(distDir, "wasm-port/tools");
|
||||
await mkdir(manifestDistDir, { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user