Sha256: bbadd0fc1bd386cec345a270da5c6ba16b8477743e6c601576e43b2f81d61240
Contents?: true
Size: 720 Bytes
Versions: 1
Compression:
Stored size: 720 Bytes
Contents
require 'paraduct' require 'thor' module Paraduct class CLI < Thor include Thor::Actions desc "test", "run matrix test" default_task :test def test script = Paraduct.config.script raise "require script" if script.blank? variables = Paraduct.config.variables raise "require variables" if variables.blank? product_variables = Paraduct::VariableConverter.product(variables) Paraduct::ParallelRunner.perform_all(script, product_variables) end desc "generate", "generate .paraduct.yml" def generate template(".paraduct.yml") end def self.source_root File.expand_path(File.join(File.dirname(__FILE__), "templates")) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paraduct-0.0.1.beta2 | lib/paraduct/cli.rb |