app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

check.sh (598B)


      1 #!/usr/bin/env bash
      2 set -euo pipefail
      3 
      4 script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
      5 repo_root="$(git -C "${script_dir}" rev-parse --show-toplevel)"
      6 
      7 cd "${repo_root}"
      8 cargo metadata --format-version 1 --no-deps
      9 cargo test -p radroots_app_types pack_day
     10 cargo test -p radroots_app_view pack_day
     11 cargo test -p radroots_app_state pack_day
     12 cargo test -p radroots_app_i18n pack_day
     13 cargo test -p radroots_app pack_day
     14 cargo test -p radroots_app source_guards
     15 cargo check -p radroots_app
     16 
     17 if [[ "$(uname -s)" == "Darwin" ]]; then
     18   "${repo_root}/platforms/macos/Scripts/test_host.sh"
     19 fi