diff --git a/justfile b/justfile index 8aca98a..f535e94 100644 --- a/justfile +++ b/justfile @@ -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