diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-14 00:02:01 -0800 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-14 00:02:01 -0800 |
| commit | b7adb1ccd5a77206cab67061e02fd2859f9f10cd (patch) | |
| tree | f5218817ec5d47a797cd83df84a7698c00440e48 /scripts/test.sh | |
| parent | Migrate from sourcehut to git.eugenetriguba.com (diff) | |
| download | envelope-b7adb1ccd5a77206cab67061e02fd2859f9f10cd.zip | |
Add test and release scripts
Diffstat (limited to 'scripts/test.sh')
| -rwxr-xr-x | scripts/test.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100755 index 0000000..5bbdf6d --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,9 @@ +#!/bin/sh +set -eu + +main() { + go test -race -coverprofile=coverage.out -covermode=atomic ./... + go tool cover -func=coverage.out +} + +main "$@" |