Sha256: 72d5099974c50689ac28042def3e5d76f3387cb4ff297bc1f0ad84eac1ca5851

Contents?: true

Size: 534 Bytes

Versions: 2

Compression:

Stored size: 534 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(
  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 exe/retest
retest-1.3.0.pre exe/retest