Sha256: 9f2dfc4abd6cf13770a27c6f2721a911191593ebf90cd6f368edc5fc922d7980

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

module Bake
  class Version
    def self.number
      "2.68.0"
    end

    def self.printBakeVersion(ry = "")
      puts "-- bake#{ry} #{Bake::Version.number}, ruby #{RUBY_VERSION}p#{RUBY_PATCHLEVEL}, platform #{RUBY_PLATFORM} --"
    end

    def self.printBakeryVersion()
      printBakeVersion("ry")
    end

    def self.printBakeqacVersion()
      printBakeVersion("qac")
    end

    def self.printBakecleanVersion()
      printBakeVersion("clean")
    end

    def self.printBakeRtextServiceVersion()
      printBakeVersion("-rtext-service")
    end

    def self.printBakeFormatVersion()
      printBakeVersion("-format")
    end
  end

  deps = [
    ["rgen", "0.8.2"],
    ["rtext", "0.9.0"],
    ["concurrent-ruby", "1.0.5"],
    ["highline", "1.7.8"],
    ["colored", "1.2"],
    ["thwait", "0.1.0"],
    ["e2mmap", "0.1.0"]]

  deps.each do |d|
    begin
      gem d[0], "=#{d[1]}"
    rescue Exception => e
      puts "Error: Failed to load gem #{d[0]} #{d[1]}, please reinstall bake-toolkit."
      exit -1
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bake-toolkit-2.68.0 lib/common/version.rb