magedeps

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureFile

func EnsureFile(file string) error

Ensure a file and it's file path exist.

Types

type DependencyDirectory

type DependencyDirectory string

func (DependencyDirectory) Bin

func (d DependencyDirectory) Bin() string

Returns the /bin directory containing the dependency binaries.

func (DependencyDirectory) GoInstall

func (d DependencyDirectory) GoInstall(tool, packageURl, version string) error

Go install a dependency into the dependency directory

func (DependencyDirectory) NeedsRebuild

func (d DependencyDirectory) NeedsRebuild(tool, version string) (needsRebuild bool, err error)

Checks if a tool in the dependency directory needs to be rebuild.

Jump to

Keyboard shortcuts

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