Sha256: 739ddce8ba767ebfa40b1c577c71f4e1fd7ccf64305836edd682e7cdd36d0fc3

Contents?: true

Size: 557 Bytes

Versions: 11

Compression:

Stored size: 557 Bytes

Contents

#!/usr/bin/env ruby

# Use:
#     sweety_backy /path/to/sweety_backy.conf

begin
  require 'sweety_backy'
rescue LoadError
  require 'rubygems'
  require 'sweety_backy'
end

require 'benchmark'

if( ARGV[0].nil? )
  SweetyBacky::Utils.log "use: $ sweety_backy <config_file_path>"
  exit 1
end

lapsus_time = 
  Benchmark.realtime do
    SweetyBacky::Utils.log "--------------------"
    SweetyBacky::Utils.log "Starting SweetyBacky"
    sb = SweetyBacky::Runner.new( ARGV[0] )
    sb.run
  end

SweetyBacky::Utils.log "SweetyBacky on #{lapsus_time} seconds"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sweety_backy-0.0.19 bin/sweety_backy
sweety_backy-0.0.17 bin/sweety_backy
sweety_backy-0.0.15 bin/sweety_backy
sweety_backy-0.0.13 bin/sweety_backy
sweety_backy-0.0.11 bin/sweety_backy
sweety_backy-0.0.9 bin/sweety_backy
sweety_backy-0.0.7 bin/sweety_backy
sweety_backy-0.0.5 bin/sweety_backy
sweety_backy-0.0.4 bin/sweety_backy
sweety_backy-0.0.3 bin/sweety_backy
sweety_backy-0.0.2 bin/sweety_backy