field_ios

In-the-field app for Radroots on iOS
git clone https://radroots.dev/git/field_ios.git
Log | Files | Refs | README | LICENSE

verify-package-contract.sh (1066B)


      1 #!/bin/sh
      2 set -eu
      3 
      4 repo_root=$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd)
      5 python_project="$repo_root/scripts/persona-verifier"
      6 
      7 uv run --project "$python_project" --offline --frozen \
      8 	python "$repo_root/scripts/package_contract.py" --repo-root "$repo_root"
      9 
     10 sh "$repo_root/scripts/ffi-provenance.sh" contract-check
     11 
     12 sh "$repo_root/scripts/persona-verifier.sh" verify-bud11-corpus \
     13 	--corpus "$repo_root/test-fixtures/bud11-upload-authorization-mutations.v1.json" \
     14 	--schema "$repo_root/test-fixtures/bud11-upload-authorization-mutations.v1.schema.json"
     15 
     16 sh "$repo_root/scripts/persona-verifier.sh" verify-persona-fixture \
     17 	--fixture "$repo_root/test-fixtures/local-social-personas.v1.json" \
     18 	--fixture-schema "$repo_root/test-fixtures/local-social-personas.v1.schema.json" \
     19 	--result-schema "$repo_root/test-fixtures/local-social-persona-results.v1.schema.json" \
     20 	--attempt-schema "$repo_root/test-fixtures/local-social-persona-attempt-evidence.v1.schema.json" \
     21 	--result-v2-schema "$repo_root/test-fixtures/local-social-persona-results.v2.schema.json"