Sha256: 1d2dd589556c3cb46865fd3991ac3276d4eb0d034ae338fb293156113d77c597

Contents?: true

Size: 575 Bytes

Versions: 2

Compression:

Stored size: 575 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "retest"
require "byebug"

$stdout.sync = true

options = Retest::Options.new(ARGV)

if options.help?
  $stdout.puts options.help
  return
end

repository = Retest::Repository.new(files: Retest::VersionControl.files)
command    = Retest::Command.for_options(options)
runner     = Retest::Runner.for(command.to_s)

program = Retest::Program.new(
  repository: repository,
  command: command,
  runner: runner
)

if options.params[:diff]
  program.diff(options.params[:diff])
else
  program.start # not blocking
  sleep
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
retest-1.3.0 bin/debug
retest-1.3.0.pre bin/debug