dependencies

package
v0.54.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllRequired []*Dependency
	AllOptional []*Dependency
)

Functions

func Add

func Add(dep *Dependency)

func AllRequiredMustBeInstalled

func AllRequiredMustBeInstalled(out io.Writer) error

Types

type Dependency

type Dependency struct {
	// Command that should be found in PATH
	Command string

	// Url to dependency's website
	Url string

	// IsRequired indicates whether this is a core dependency required to run joy
	IsRequired bool

	// RequiredBy lists which joy sub-commands require this dependency
	RequiredBy []string
}

func (*Dependency) IsInstalled

func (d *Dependency) IsInstalled() bool

func (*Dependency) MustBeInstalled

func (d *Dependency) MustBeInstalled() error

Jump to

Keyboard shortcuts

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