summaryrefslogtreecommitdiff
path: root/bin/tool
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tool')
-rwxr-xr-xbin/tool9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/tool b/bin/tool
new file mode 100755
index 0000000..7b46bce
--- /dev/null
+++ b/bin/tool
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+tool_bin=$(go tool -n "$1")
+
+shift
+
+exec "$tool_bin" "$@"