Sha256: 3cd9daf0cddf18f20a932a3a8106806d712c7511b812ff92299af75f04a40f49

Contents?: true

Size: 422 Bytes

Versions: 3

Compression:

Stored size: 422 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

program = Retest::Program.new(
  repository: Retest::Repository.new(files: Retest::VersionControl.files),
  runner: Retest::Runner.for(options.command)
)

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
retest-1.0.0 exe/retest
retest-1.0.0.pre2 exe/retest
retest-1.0.0.pre exe/retest