One merged node-WASM CLI (wasm/tools, 26.5MB) supersedes sym_convert + pcb_convert: --convert-lib (absolutizes paths — fixes the legacy plugin's silent empty output on relative paths), --lint (now full-parses .kicad_pcb via the linked pcbnew parser), --erc, --netlist, --bom, --plot, --drc. Registered as the only headless CLI app; ASYNCIFY=0 CLIs skip the nanosleep→Asyncify yield shim and exit via _exit (dieted static dtors trap). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADzCSeN3Q9DJL3YW2FZTXB
7 lines
332 B
Shell
Executable file
7 lines
332 B
Shell
Executable file
#!/bin/bash
|
|
# Build the merged headless KiCad CLI (kicad_tools: sym_convert + pcb_convert
|
|
# subcommands in one node WASM image). Thin wrapper around
|
|
# build-kicad-target.sh — see that script for options.
|
|
set -e
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
exec "${SCRIPT_DIR}/build-kicad-target.sh" kicad_tools "$@"
|