diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/postgres | 8 | ||||
| -rwxr-xr-x | bin/tool | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/bin/postgres b/bin/postgres new file mode 100755 index 0000000..66c0ab0 --- /dev/null +++ b/bin/postgres @@ -0,0 +1,8 @@ +#!/bin/sh + +if ! command -v postgres >/dev/null 2>&1; then + echo "Install postgres via mise: mise install postgres" + exit 1 +fi + +exec postgres $@ 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" "$@" |
