dnote/scripts/cli/test.sh
2025-10-25 17:00:46 -07:00

11 lines
226 B
Bash
Executable file

#!/usr/bin/env bash
# test.sh runs tests for CLI packages
set -eux
dir=$(dirname "${BASH_SOURCE[0]}")
pushd "$dir/../../pkg/cli"
# clear tmp dir in case not properly torn down
rm -rf "./tmp"
go test ./... --tags "fts5"
popd