dnote/scripts/cli/test.sh
Sung f6a4c6344c
Remove public from CLI (#703)
* Remove public from CLI

* Write migration and test

* Use in-memory db for a test server

* Simplify CLI test db teardown

* Restructure packages to reduce duplication
2025-10-25 20:51:57 -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