Files
gosick/bin/homesick
2026-03-19 16:33:45 +00:00

12 lines
267 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
repo_root="$(cd "$script_dir/.." && pwd)"
if [[ -x "$repo_root/dist/gosick" ]]; then
exec "$repo_root/dist/gosick" "$@"
fi
exec go run "$repo_root/cmd/homesick" "$@"