build: add just install recipe
Installs bat Forth syntax, then cargo install --locked the CLI. CARGO_PROFILE_RELEASE_STRIP=none because Cargo's release default (strip = "debuginfo") emits dylibs macOS 27 dyld rejects with "mis-aligned LINKEDIT string pool"; proc macros then fail to load during the build.
This commit is contained in:
@@ -66,6 +66,13 @@ ci: fmt clippy deny test
|
|||||||
check:
|
check:
|
||||||
cargo check --workspace
|
cargo check --workspace
|
||||||
|
|
||||||
|
# Install the wafer CLI (release build) and bat syntax highlighting.
|
||||||
|
# STRIP=none: Cargo's release default (strip = "debuginfo") emits dylibs that
|
||||||
|
# macOS 27's dyld rejects ("mis-aligned LINKEDIT string pool"), so proc macros
|
||||||
|
# fail to load during the build itself.
|
||||||
|
install: install-syntax
|
||||||
|
CARGO_PROFILE_RELEASE_STRIP=none cargo install --path crates/cli --locked
|
||||||
|
|
||||||
# Install bat syntax highlighting for WAFER / Forth
|
# Install bat syntax highlighting for WAFER / Forth
|
||||||
install-syntax:
|
install-syntax:
|
||||||
mkdir -p ~/.config/bat/syntaxes
|
mkdir -p ~/.config/bat/syntaxes
|
||||||
|
|||||||
Reference in New Issue
Block a user