Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecRunner ¶
type ExecRunner struct {
// contains filtered or unexported fields
}
ExecRunner is the default Runner implementation that invokes the system 'make' command. It constructs the command line to include the '-f' flag for the Makefile path, any additional flags, and the specified targets. Standard output and error are forwarded.
type Runner ¶
type Runner interface {
// Run executes the provided make targets using the Makefile at path.
// makeFlags are passed to the make command, and targets specify which targets to run.
Run(ctx context.Context, path string, makeFlags, targets []string) error
}
Runner defines the interface for executing Makefile targets. Implementations of Runner take a path to a Makefile, flags for make, and target names to execute.
Click to show internal directories.
Click to hide internal directories.