| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 | alias b := buildalias c := checkalias t := testdefault:  @just --listfinal-check: typos format clippy test# run `cargo build` on everythingbuild *ARGS="--workspace --all-targets":  #!/usr/bin/env bash  set -euo pipefail  if [ ! -f Cargo.toml ]; then    cd {{invocation_directory()}}  fi  cargo build {{ARGS}}# run `cargo check` on everythingcheck *ARGS="--workspace --all-targets":  #!/usr/bin/env bash  set -euo pipefail  if [ ! -f Cargo.toml ]; then    cd {{invocation_directory()}}  fi  cargo check {{ARGS}}# run code formattersformat:  #!/usr/bin/env bash  set -euo pipefail  if [ ! -f Cargo.toml ]; then    cd {{invocation_directory()}}  fi  cargo fmt --all  nixpkgs-fmt $(echo **.nix)# run doc teststest: build  #!/usr/bin/env bash  set -euo pipefail  if [ ! -f Cargo.toml ]; then    cd {{invocation_directory()}}  fi  cargo test --lib  # Run pure integration tests  cargo test -p cdk-integration-tests --test integration_tests_pure  cargo test -p cdk-integration-tests --test minttest-all db:    #!/usr/bin/env bash    just test    ./misc/itests.sh "{{db}}"    ./misc/fake_itests.sh "{{db}}"    # run `cargo clippy` on everythingclippy *ARGS="--locked --offline --workspace --all-targets":  cargo clippy {{ARGS}}# run `cargo clippy --fix` on everythingclippy-fix *ARGS="--locked --offline --workspace --all-targets":  cargo clippy {{ARGS}} --fixtypos:   typos# fix all typos[no-exit-message]typos-fix:  just typos -witest db:  #!/usr/bin/env bash  ./misc/itests.sh "{{db}}"  fake-mint-itest db:  #!/usr/bin/env bash  ./misc/fake_itests.sh "{{db}}"  itest-payment-processor ln:  #!/usr/bin/env bash  ./misc/mintd_payment_processor.sh "{{ln}}"  fake-auth-mint-itest db openid_discovery:  #!/usr/bin/env bash  ./misc/fake_auth_itests.sh "{{db}}" "{{openid_discovery}}"run-examples:  cargo r --example p2pk  cargo r --example mint-token  cargo r --example proof_selection  cargo r --example walletcheck-wasm *ARGS="--target wasm32-unknown-unknown":  #!/usr/bin/env bash  set -euo pipefail  if [ ! -f Cargo.toml ]; then    cd {{invocation_directory()}}  fi  buildargs=(    "-p cdk"    "-p cdk --no-default-features"    "-p cdk --no-default-features --features wallet"    "-p cdk --no-default-features --features mint"  )  for arg in "${buildargs[@]}"; do    echo  "Checking '$arg'"    cargo check $arg {{ARGS}}    echo  donerelease m="":  #!/usr/bin/env bash  set -euo pipefail  args=(    "-p cashu"    "-p cdk-common"    "-p cdk"    "-p cdk-redb"    "-p cdk-sqlite"    "-p cdk-rexie"    "-p cdk-axum"    "-p cdk-mint-rpc"    "-p cdk-cln"    "-p cdk-lnd"    "-p cdk-lnbits"    "-p cdk-fake-wallet"    "-p cdk-payment-processor"    "-p cdk-cli"    "-p cdk-mintd"  )  for arg in "${args[@]}";  do    echo "Publishing '$arg'"    cargo publish $arg {{m}}    echo  donecheck-docs:  #!/usr/bin/env bash  set -euo pipefail  args=(    "-p cashu"    "-p cdk-common"    "-p cdk"    "-p cdk-redb"    "-p cdk-sqlite"    "-p cdk-axum"    "-p cdk-rexie"    "-p cdk-cln"    "-p cdk-lnd"    "-p cdk-strike"    "-p cdk-phoenixd"    "-p cdk-lnbits"    "-p cdk-fake-wallet"    "-p cdk-mint-rpc"    "-p cdk-cli"    "-p cdk-mintd"  )  for arg in "${args[@]}"; do    echo  "Checking '$arg' docs"    cargo doc $arg --all-features    echo  done
 |