#!/bin/sh { set -ex lint=true if [ "$FISH_CHECK_LINT" = false ]; then lint=false fi check_dependency_versions=false if [ "${FISH_CHECK_DEPENDENCY_VERSIONS:-false}" != false ]; then check_dependency_versions=true fi if $check_dependency_versions; then command -v curl command -v jq command -v rustup command -v uv sort --version-sort /dev/null; then cargo deny --all-features --locked --exclude-dev check licenses fi PATH="$build_dir:$PATH" "$workspace_root/build_tools/style.fish" --all --check for features in "" --no-default-features; do cargo clippy --workspace --all-targets $features done fi cargo test --no-default-features --workspace --all-targets cargo test --doc --workspace if $lint; then cargo doc --workspace --no-deps fi FISH_GETTEXT_EXTRACTION_DIR=$gettext_template_dir "$workspace_root/tests/test_driver.py" "$build_dir" exit }