Sha256: cdf51b2ec23d888b7b240dd153a088f0032d899f08f6c70b40c0b751db014281

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

#!/usr/bin/env ruby

require 'retest'

$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 exe/retest