Sha256: 8190f5d642dc5c783cae4b0b0d73ce28e13d23c00d32858278127b0efd68b657

Contents?: true

Size: 607 Bytes

Versions: 1

Compression:

Stored size: 607 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(
  extension: options.extension,
  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

1 entries across 1 versions & 1 rubygems

Version Path
retest-1.4.0 bin/debug