Sha256: d8646a7d51fb0cd7dd58b4f1bf7f6a590e2e53c090241365e22ff4d7bfc5f2d6

Contents?: true

Size: 1016 Bytes

Versions: 17

Compression:

Stored size: 1016 Bytes

Contents

#!/usr/bin/env ruby

$timeStart = Time.now

$:.unshift(File.dirname(__FILE__)+"/../lib")
require 'common/version'

STDOUT.sync = true
STDERR.sync = true

puts "-- bake #{Bake::Version.number}, ruby #{RUBY_VERSION}p#{RUBY_PATCHLEVEL}, platform #{RUBY_PLATFORM} --"

require 'tocxx'
require 'socket'

module Bake

  earlyExit = nil
  begin
    if RUBY_VERSION[0..2] == "1.8"
      Bake.formatter.printError("Error: Ruby 1.8 not supported anymore. Use Ruby 1.9 or greater.")
      ExitHelper.exit(1)
    end
    
    Bake.options = Options.new(ARGV)
    Bake.options.parse_options

    tocxx = Bake::ToCxx.new
    tocxx.connect()
    tocxx.doit()
    tocxx.disconnect()
    
  rescue SystemExit => e
    earlyExit = e
    begin
      tocxx.disconnect()
    rescue Exception => e2
    end
  end

  timeEnd = Time.now
  timeDiff = timeEnd - $timeStart
  Bake.formatter.printInfo("\nTime: %02d:%02d minutes" % [timeDiff/60, timeDiff%60])
  
  raise earlyExit if earlyExit
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
bake-toolkit-2.20.4 bin/bake
bake-toolkit-2.20.3 bin/bake
bake-toolkit-2.20.2 bin/bake
bake-toolkit-2.20.1 bin/bake
bake-toolkit-2.19.2 bin/bake
bake-toolkit-2.19.1 bin/bake
bake-toolkit-2.19.0 bin/bake
bake-toolkit-2.18.0 bin/bake
bake-toolkit-2.17.4 bin/bake
bake-toolkit-2.17.3 bin/bake
bake-toolkit-2.17.2 bin/bake
bake-toolkit-2.17.1 bin/bake
bake-toolkit-2.16.1 bin/bake
bake-toolkit-2.15.0 bin/bake
bake-toolkit-2.14.0 bin/bake
bake-toolkit-2.13.1 bin/bake
bake-toolkit-2.13.0 bin/bake