Sha256: 08a8c032b5c18d8e410a84b206d3311a1987ffa5c7b9fa35586fff8c2968f115

Contents?: true

Size: 463 Bytes

Versions: 3

Compression:

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

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 bin/debug
retest-1.0.0.pre2 bin/debug
retest-1.0.0.pre bin/debug