deps

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package deps manages external dependencies for Gas Town.

Index

Constants

View Source
const BeadsInstallPath = "github.com/steveyegge/beads/cmd/bd@latest"

BeadsInstallPath is the go install path for beads.

View Source
const MinBeadsVersion = "0.47.0"

MinBeadsVersion is the minimum compatible beads version for this Gas Town release. Update this when Gas Town requires new beads features.

Variables

This section is empty.

Functions

func EnsureBeads

func EnsureBeads(autoInstall bool) error

EnsureBeads checks for bd and installs it if missing or outdated. Returns nil if bd is available and compatible. If autoInstall is true, will attempt to install bd when missing.

Types

type BeadsStatus

type BeadsStatus int

BeadsStatus represents the state of the beads installation.

const (
	BeadsOK       BeadsStatus = iota // bd found, version compatible
	BeadsNotFound                    // bd not in PATH
	BeadsTooOld                      // bd found but version too old
	BeadsUnknown                     // bd found but couldn't parse version
)

func CheckBeads

func CheckBeads() (BeadsStatus, string)

CheckBeads checks if bd is installed and compatible. Returns status and the installed version (if found).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL