Sha256: 993b1e2ce622c5af6acd9402c7b41d5ccdc63ba4f0b2336985080830a8327890
Contents?: true
Size: 757 Bytes
Versions: 2
Compression:
Stored size: 757 Bytes
Contents
require 'benchmark' module Omnitest module Command class ProjectAction < Omnitest::Command::Base include RunAction # Invoke the command. def call banner "Starting Omnitest (v#{Omnitest::VERSION})" elapsed = Benchmark.measure do setup project_regex = args.shift if %w(task workflow).include? action # a bit hacky... argument = project_regex project_regex = args.shift args.unshift argument end projects = select_projects(project_regex, options) run_action(projects, action, options[:concurrency], *args) end banner "Omnitest is finished. #{Core::Util.duration(elapsed.real)}" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omnitest-0.2.2 | lib/omnitest/command/project_action.rb |
omnitest-0.2.1 | lib/omnitest/command/project_action.rb |