完善云端RUN执行反馈

This commit is contained in:
2026-06-23 03:59:47 -04:00
parent bb71613051
commit 37604fa5b3
33 changed files with 3724 additions and 534 deletions

View File

@@ -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 });