Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ToolDir is a template string for the directory where managed tools are installed. // Defaults to "{{RootDir}}/.tool". Can be overridden before Makefile() is called. ToolDir = "{{RootDir}}/.tool" // RootDir is a template string for the project root directory. // Defaults to "{{GitRoot}}" which resolves to the directory containing .git. RootDir = "{{GitRoot}}" // TmpDir specifies an alternate temporary directory. If empty, uses the system // default temp directory. Useful for CI environments with specific temp paths. TmpDir = "" // OS is the target operating system (runtime.GOOS). Used in template rendering // and tool downloads. OS = runtime.GOOS // Arch is the target architecture (runtime.GOARCH). Used in template rendering // and tool downloads. Arch = runtime.GOARCH // Debug enables debug logging and additional diagnostics like periodic stack traces. // Set via DEBUG=true or RUNNER_DEBUG=1 environment variables. Debug = false // Trace enables even more verbose logging than Debug. Implies Debug=true. // Set via TRACE=true environment variable. Trace = false // CI indicates running in a continuous integration environment. // Set via CI=true environment variable (automatically set by most CI systems). CI = false // Windows is true when running on Windows (runtime.GOOS == "windows"). Windows = runtime.GOOS == "windows" // Cleanup controls whether temporary files are deleted. Automatically disabled // when Debug or CI is true to aid in debugging. Cleanup = true )
Functions ¶
func DoExit ¶ added in v0.1.0
func DoExit()
DoExit executes all registered exit handlers in reverse registration order. This is automatically called by Makefile() via defer. Thread-safe.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.