Files
amacocian 53b0d025f5
Release / release (push) Successful in 24s
Shared infra for installer
2026-06-13 14:25:40 +02:00

25 lines
688 B
Bash
Executable File

#!/usr/bin/env sh
#
# Thin convenience wrapper. The real installer is Go:
#
# go run ./setup
#
# This script just forwards to it so `./install.sh` keeps working. All
# flags pass through (see `go run ./setup --help`).
#
# ./install.sh # interactive: seed config, edit, install
# ./install.sh -y # skip the editor
# ./install.sh --local # build from this checkout (development)
# ./install.sh --config-only
set -eu
command -v go >/dev/null 2>&1 || {
echo "error: the Go toolchain is required but 'go' was not found on PATH." >&2
echo "Install Go (https://go.dev/dl/), then re-run." >&2
exit 1
}
cd "$(dirname "$0")"
exec go run ./setup "$@"