aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/test.sh
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-11-14 11:08:59 -0800
committerEugene Triguba <hello@eugenetriguba.com>2026-11-14 11:08:59 -0800
commit36f7df56164df73c7af867d8ed478a9b572aee40 (patch)
tree0e46940d56b58e2b473b872a8bc4fac9d69a3d33 /scripts/test.sh
parentFix links to docs images in readme and update install instructions (diff)
downloadtmux-toggle-term-36f7df56164df73c7af867d8ed478a9b572aee40.zip
Move source files to src/ directory and add test script to scripts/
Diffstat (limited to 'scripts/test.sh')
-rwxr-xr-xscripts/test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
new file mode 100755
index 0000000..e123124
--- /dev/null
+++ b/scripts/test.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -o errexit
+set -o nounset
+
+DIR=$(dirname "$0")
+ROOT_DIR="$DIR/../"
+
+main() {
+ "$ROOT_DIR/vendor/bats/bin/bats" "$ROOT_DIR/tests/tests.sh"
+}
+
+main "$@"