完善 LinuxCNC 对标矩阵与 gmoccapy TRT 仿真
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 copyLinuxCncReferenceAssets();
|
||||
await copyBundledTestLinuxCncSourceAssets();
|
||||
await copyKinematicsRuntimeAssets();
|
||||
await copyInterpreterRuntimeAssets();
|
||||
@@ -69,6 +70,18 @@ async function copyLinuxCncConfigAssets() {
|
||||
await cp(configSrcDir, vendorConfigDistDir, { recursive: true });
|
||||
}
|
||||
|
||||
async function copyLinuxCncReferenceAssets() {
|
||||
const linuxCncSrcDir = join(repoRoot, "linuxcnc");
|
||||
const linuxCncDistDir = join(distDir, "linuxcnc");
|
||||
await mkdir(linuxCncDistDir, { recursive: true });
|
||||
for (const entry of [
|
||||
"configs/sim/gmoccapy",
|
||||
"nc_files",
|
||||
]) {
|
||||
await cp(join(linuxCncSrcDir, entry), join(linuxCncDistDir, entry), { 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");
|
||||
|
||||
Reference in New Issue
Block a user