aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/release.sh (renamed from release.sh)0
-rwxr-xr-xscripts/test.sh9
2 files changed, 9 insertions, 0 deletions
diff --git a/release.sh b/scripts/release.sh
index e19c244..e19c244 100755
--- a/release.sh
+++ b/scripts/release.sh
diff --git a/scripts/test.sh b/scripts/test.sh
new file mode 100755
index 0000000..61739ba
--- /dev/null
+++ b/scripts/test.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+set -eou pipefail
+
+main() {
+ go test -race -coverprofile=coverage.out -covermode=atomic ./...
+ go tool cover -func=coverage.out
+}
+
+main "$@"