class

Mrcv::Runner::Local

Inherits Mrcv::Runner::Base < Reference < Object

Direct local compiler execution runner. Executes Crystal builds and specs directly using local toolchains (asdf, mise, custom path, or system crystal).

Constructors

new(toolchain_path : String | Nil = nil, asdf_root : String | Nil = nil, mise_root : String | Nil = nil)
Source

Instance methods

asdf_root
Source
available?

Checks if system crystal or any local toolchain manager directory exists.

Source
binary_for(version : Core::Version) : String | Nil

Locates the executable path for a specific Crystal version.

Source
execute(version : Core::Version, target : Core::ProjectTarget, mode : Core::ExecutionMode) : Core::ExecutionResult

Executes the compilation or spec check using the resolved local binary.

Source
mise_root
Source
name

Returns the human-readable identifier of the runner backend.

Source
system_crystal_version

Discovers and parses the version of the system-installed crystal binary in PATH.

Source
toolchain_path
Source