Files
faunosteo/scripts/import-equine.sh
T
bchanot 1b359598ab chore(workspace): R5.7 delete packages/anatomy and packages/domain
The TS pipeline, domain, upload script and legacy scripts leave; xmldom out of the
lockfile, Dockerfile copies trimmed. LEDGER.tsv (407 cases) and FILES.tsv (112 files)
record each disposition; r4 and r5 census tests guard the tree, lockfile and
production imports.
2026-10-25 04:00:07 +01:00

16 lines
949 B
Bash
Executable File

#!/usr/bin/env bash
# `pnpm import:equine --check | --out <dir>` (alias `pnpm r5:import-equine`): the official
# writer of the seed since R5.6, the anatomical pipeline on the core (R5.2 to R5.6), the `import-equine` binary of crates/core behind its `curation` feature, on the native
# toolchain of the development machine (scripts/rust-env.sh). The first run compiles it
# (release profile); the next ones start at once. `--check` compares the produced folders with
# the committed seed and writes nothing; `--out <dir>` writes `<dir>/legacy-import` and
# `<dir>/draft` into an absent or empty folder (a relative path is typed from the folder pnpm
# was run in, INIT_CWD). The TypeScript generator left at R5.7; it is replayed from a historical
# revision only (RUST.md §11.23).
set -euo pipefail
cd "$(dirname "$0")/.."
. scripts/rust-env.sh
exec cargo run --release --locked -q -p faunosteo-core --features curation --bin import-equine -- "$@"