Files
faunosteo/scripts/report-compare.sh
T

13 lines
634 B
Bash
Executable File

#!/usr/bin/env bash
# `pnpm report:compare <file.pdf | folder>... [--summary] [--full] [--locale fr|en]
# [--diff a.pdf b.pdf]`: the archive check tool on the core (R4.7, plan §B.1.7), the
# `report-compare` binary of crates/core behind its `cli` 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. Paths are typed from the folder pnpm was run in (INIT_CWD).
set -euo pipefail
cd "$(dirname "$0")/.."
. scripts/rust-env.sh
exec cargo run --release --locked -q -p faunosteo-core --features cli --bin report-compare -- "$@"