class Lapis::Benchmark::TargetSpec

Overview

Target specification within a comparison group

Defined in:

libgodot/benchmarks.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, file : String = "", language : Symbol = :crystal, command : String | Nil = nil, flags : Array(String) = [] of String, description : String = "", feature : Symbol | Nil = nil, ci_only : Bool = false, subgroup : String | Nil = nil, args : Array(String) = [] of String, block : Proc(Int32, Nil) | Nil = nil) #

Instance Method Detail

def active?(enabled_features : Set(Symbol), is_ci : Bool) : Bool #

Determines if this target is active given the current execution context


def args : Array(String) #

def args=(args : Array(String)) #

def block : Proc(Int32, Nil) | Nil #

def block=(block : Proc(Int32, Nil) | Nil) #

def ci_only : Bool #

def ci_only=(ci_only : Bool) #

def command : String | Nil #

def command=(command : String | Nil) #

def description : String #

def description=(description : String) #

def feature : Symbol | Nil #

def feature=(feature : Symbol | Nil) #

def file : String #

def file=(file : String) #

def flags : Array(String) #

def flags=(flags : Array(String)) #

def language : Symbol #

def language=(language : Symbol) #

def name : String #

def name=(name : String) #

def subgroup : String | Nil #

def subgroup=(subgroup : String | Nil) #