class Runcobo::Tasks::Codegen

Defined in:

tasks/codegen.cr

Constant Summary

LOCK = {{ read_file("/home/runner/work/runcobo/runcobo/src/tasks/crsql.lock") }}
MANIFEST = {{ read_file("/home/runner/work/runcobo/runcobo/src/tasks/crsql.yml") }}
TOOLCHAIN = Digest::SHA256.hexdigest(MANIFEST + LOCK)

Constructors

Instance Method Summary

Constructor Detail

def self.new(settings : Config, runner : Runcobo::Tasks::Runner = Runner.new, output : IO = STDOUT) #

[View source]

Instance Method Detail

def binary : Path #

[View source]
def build #

The private generator is installed only when a development command needs it. Application dependencies and runtime never load this toolchain.


[View source]
def check #

[View source]
def current? : Bool #

[View source]
def generate(destination : Path) #

[View source]
def generate #

[View source]
def run(arguments : Array(String)) #

[View source]
def stamp : Path #

[View source]