project

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildProjectTendBinary

func BuildProjectTendBinary(startDir string) (string, error)

BuildProjectTendBinary finds the project's tend test runner source, builds it, and returns the path to the executable. It always rebuilds to ensure the latest changes are included.

func FindTendBinary

func FindTendBinary(startDir string) (string, error)

FindTendBinary searches for a binary containing "tend" in its name within the project. It first finds grove config, then looks in common binary locations relative to the project root. Deprecated: Use BuildProjectTendBinary instead, which always rebuilds for latest changes.

func GetBinaryPath

func GetBinaryPath(startDir string) (string, error)

GetBinaryPath finds the project's main binary by searching for grove config (grove.toml or grove.yml) starting from the given root directory and walking up.

Types

type BinaryConfig

type BinaryConfig struct {
	Name string `yaml:"name"`
	Path string `yaml:"path"`
}

BinaryConfig holds the binary configuration from the grove config's [binary] section.

Jump to

Keyboard shortcuts

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