build(just): narrow fixture catalog checks
Keep the catalog authority safeguards while reducing task-runner duplication. GUI run and build commands now validate only the default fixture profile they actually package; the peer-CLI image and matrix retain the aggregate check for default, solid, multi-archive, and unknown-game profiles. Remove publisher-only format, lint, and test wrappers because the workspace recipes already cover the same crate and targets. Test Plan: - `just --fmt --check` -- passed - `just fixture-catalogs-check` -- passed - `just test` -- passed - `just clippy` -- passed - `just frontend-test` -- passed, 91/91 - `just build` -- passed - `git diff --cached --check` -- passed
This commit is contained in:
@@ -14,10 +14,10 @@ setup:
|
||||
cargo install tauri-cli
|
||||
cd crates/lanspread-tauri-deno-ts && deno install --frozen=true
|
||||
|
||||
run: fixture-catalogs-check
|
||||
run: fixture-catalog-check
|
||||
{{ TAURI_FIXTURE_ENV }} cargo tauri dev --config crates/lanspread-tauri-deno-ts/src-tauri/tauri.dev.conf.json --release
|
||||
|
||||
build: fixture-catalogs-check
|
||||
build: fixture-catalog-check
|
||||
{{ TAURI_FIXTURE_ENV }} cargo tauri build --config crates/lanspread-tauri-deno-ts/src-tauri/tauri.dev.conf.json --no-bundle #-- --profile dev
|
||||
|
||||
bundle: catalog-check-production
|
||||
@@ -42,9 +42,7 @@ clippy:
|
||||
test:
|
||||
{{ TAURI_FIXTURE_ENV }} TAURI_CONFIG='{{ TAURI_DEV_CONFIG }}' cargo test --workspace --all-targets --all-features
|
||||
|
||||
# Acceptance catalogs are derived only by the Rust publisher. The static
|
||||
# profiles are committed artifacts; generation is an explicit maintainer task,
|
||||
# while normal development and image builds run the package-free check.
|
||||
# Regenerate the committed acceptance catalogs from their fixture packages.
|
||||
fixture-catalogs:
|
||||
cargo run -p lanspread-compat --bin lanspread-fixture-catalog -- \
|
||||
--source-catalog-db {{ FIXTURE_CATALOG_SOURCE }} \
|
||||
@@ -91,9 +89,12 @@ fixture-download-only-catalog OUTPUT GAME_ID GAME_ROOT:
|
||||
--game-root "{{ GAME_ROOT }}" \
|
||||
--no-stream-install "{{ GAME_ID }}"
|
||||
|
||||
fixture-catalogs-check:
|
||||
fixture-catalog-check:
|
||||
cargo run -p lanspread-compat --bin lanspread-catalog-publisher -- check \
|
||||
--catalog-db {{ FIXTURE_CATALOG_ROOT }}/default/game.db --all
|
||||
|
||||
# Check every catalog profile used by the peer-CLI acceptance matrix.
|
||||
fixture-catalogs-check: fixture-catalog-check
|
||||
cargo run -p lanspread-compat --bin lanspread-catalog-publisher -- check \
|
||||
--catalog-db {{ FIXTURE_CATALOG_ROOT }}/solid/game.db --all
|
||||
cargo run -p lanspread-compat --bin lanspread-catalog-publisher -- check \
|
||||
@@ -105,15 +106,6 @@ catalog-check-production:
|
||||
cargo run -p lanspread-compat --bin lanspread-catalog-publisher -- check \
|
||||
--catalog-db crates/lanspread-tauri-deno-ts/src-tauri/game.db --all
|
||||
|
||||
catalog-publisher-test:
|
||||
cargo test -p lanspread-compat --all-targets --all-features
|
||||
|
||||
catalog-publisher-clippy:
|
||||
cargo clippy -p lanspread-compat --all-targets --all-features -- -D warnings
|
||||
|
||||
catalog-publisher-fmt:
|
||||
cargo +nightly fmt --package lanspread-compat
|
||||
|
||||
frontend-test:
|
||||
cd crates/lanspread-tauri-deno-ts && deno test --unstable-sloppy-imports tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user