solana-program-library/associated-token-account/program/run-tests.sh

15 lines
176 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
cd "$(dirname "$0")"
cargo clippy
cargo build
cargo build-bpf
if [[ $1 = -v ]]; then
export RUST_LOG=solana=debug
fi
cargo test
cargo test-bpf