Sha256: a7d6e31e8d5be8e74a5f1cd93dbb2eb3983664d646ccf196d6751781e0195ebf
Contents?: true
Size: 481 Bytes
Versions: 13
Compression:
Stored size: 481 Bytes
Contents
#!/usr/bin/env ruby require_relative '../lib/knapsack_pro' runner = ARGV[0] arguments = ARGV[1] MAP = { 'rspec' => KnapsackPro::Runners::RSpecRunner, 'cucumber' => KnapsackPro::Runners::CucumberRunner, 'minitest' => KnapsackPro::Runners::MinitestRunner, } runner_class = MAP[runner] if runner_class runner_class.run(arguments) else raise 'Undefined runner. Please provide runner name and optional arguments, for instance: knapsack_pro rspec "--color --profile"' end
Version data entries
13 entries across 13 versions & 1 rubygems