class
Lapis::Benchmark::TargetSpec
- Lapis::Benchmark::TargetSpec
- Reference
- Object
Overview
Target specification within a comparison group
Defined in:
libgodot/benchmarks.crConstructors
Instance Method Summary
-
#active?(enabled_features : Set(Symbol), is_ci : Bool) : Bool
Determines if this target is active given the current execution context
- #args : Array(String)
- #args=(args : Array(String))
- #block : Proc(Int32, Nil) | Nil
- #block=(block : Proc(Int32, Nil) | Nil)
- #ci_only : Bool
- #ci_only=(ci_only : Bool)
- #command : String | Nil
- #command=(command : String | Nil)
- #description : String
- #description=(description : String)
- #feature : Symbol | Nil
- #feature=(feature : Symbol | Nil)
- #file : String
- #file=(file : String)
- #flags : Array(String)
- #flags=(flags : Array(String))
- #language : Symbol
- #language=(language : Symbol)
- #name : String
- #name=(name : String)
- #subgroup : String | Nil
- #subgroup=(subgroup : String | Nil)
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