Sha256: 9476aa3a4737331110a2233c9ee21f99773360422dd2f343403b2276aafca1f5

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

#!/usr/bin/ruby

require_relative("../lib/yes_ship_it.rb")

puts "Shipping..."
puts

config_file = "yes_ship_it.conf"

if !File.exist?(config_file)
  STDERR.puts("Unable to find file `yes_ship_it.conf`. I need it.")
  exit 1
end

engine = YSI::Engine.new
engine.dry_run = ARGV == ["--dry-run"]

begin
  engine.read(config_file)

  exit engine.run
rescue YSI::Error => e
  STDERR.puts e
  exit 1
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yes_ship_it-0.0.1 bin/yes_ship_it