Sha256: 766713f7c26f5a4fc513d1f741019d1b2dbf4a0f4394fe63094d95ad163c4594

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
libdir = "#{File.expand_path(File.dirname(File.dirname(__FILE__)))}/lib"
$LOAD_PATH.unshift libdir unless $LOAD_PATH.include?(libdir)

require 'rerun'
require 'optparse'

options = Rerun::Options.parse config_file: ".rerun"

if options and options[:verbose]
  puts "\nrerun options:\n\t#{options}"
end

exit if options.nil? or options[:cmd].nil? or options[:cmd].empty?

Rerun::Runner.keep_running(options[:cmd], options)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rerun-0.13.0 bin/rerun