binhelper

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBuilded

func GetBuilded(t *testing.T) string

GetBuilded returns the absolute path to the built binary. It builds the binary if necessary, with proper locking and caller tracking.

func GetBuildedWithConfig

func GetBuildedWithConfig(t *testing.T, skipBuildEnvVar string) string

GetBuildedWithConfig returns the absolute path to the built binary with configurable environment variable names.

Types

type LockInfo

type LockInfo struct {
	BuildPID  int       `json:"build_pid"`
	Timestamp time.Time `json:"timestamp"`
	TestBuilt bool      `json:"test_built"`
}

LockInfo represents the build lock file structure

Jump to

Keyboard shortcuts

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