makeover-webview 0.38.0

The webview renderer for makeover-layout. Emits CSS, and is the one renderer that needs no palette: var() is the late binding, so resolution stays with the browser.
Documentation
#!/bin/bash
# Canonical pre-push gate: blocks a push whose test targets do not build.
#
# DO NOT EDIT IN PLACE. The master is _private/infra/bootstrap/githooks/pre-push.
#
# Bypass for a work-in-progress push: git push --no-verify
#
# `cargo check` and `cargo clippy` both compile only the lib and bin targets, so a
# break confined to `tests/` or a `#[cfg(test)]` module is clean under both and
# lands unnoticed (goingson's sqlx 0.9 upgrade shipped exactly that way).
# `--no-run` builds every test target without running them, which is the cheap
# half of the suite and enough to catch a compile break. Tests still run
# separately.
#
# `--workspace` is load-bearing wherever default-members is narrower than the
# workspace: goingson's is src-tauri alone, so a bare `cargo test --no-run` would
# skip core, db-sqlite, go-mcp and got.
#
# Only installed in repos with a root Cargo.toml. MNW and synckit have none by
# design (standalone crates, no root workspace), so there is no one command to run
# and they get the pre-commit gates only.
set -euo pipefail

ROOT="$(git rev-parse --show-toplevel)"
cd "$ROOT"

# See the canonical pre-commit: a hook run from an editor or a cron job does not
# get the profile's PATH, and a hook that cannot find cargo is worse than none.
export PATH="$HOME/.cargo/bin:$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin:$PATH"

[ -f "$ROOT/Cargo.toml" ] || exit 0

# Refs arrive on stdin as "<local ref> <local sha> <remote ref> <remote sha>".
# A branch deletion has an all-zero local sha and no tree to build.
pushing=0
while read -r _local_ref local_sha _remote_ref _remote_sha; do
    case "$local_sha" in
        *[!0]*) pushing=1 ;;
    esac
done
[ "$pushing" -eq 1 ] || exit 0

echo "pre-push: building test targets (cargo test --no-run --workspace)..."
if ! cargo test --no-run --workspace; then
    echo "pre-push: test targets failed to build."
    echo "pre-push: push aborted (use --no-verify to bypass)."
    exit 1
fi

echo "pre-push: test targets build clean."