Headless node-WASM CLI that converts legacy symbol libraries to .kicad_sym via SCH_IO_MGR::ConvertLibrary. Adds wasm/cli/sym_convert_main.cpp + sym_convert_pre.js (in-memory localStorage + wxConfig JS-hook shim), registers sym_convert as a docker/build.sh app (own kicad-sym_convert tree, real wasm-opt/finalize in-container, skip host postprocess), and bumps the kicad pointer for the matching target. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6 lines
313 B
Shell
Executable file
6 lines
313 B
Shell
Executable file
#!/bin/bash
|
|
# Build the standalone .lib -> .kicad_sym converter (sym_convert) for WebAssembly,
|
|
# as a node CLI. 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" sym_convert "$@"
|