Sha256: 63b4c3e3e97ad6dc907c23a994caf1cd083991d0d9ce1f3fb5b149514275ef18

Contents?: true

Size: 920 Bytes

Versions: 21

Compression:

Stored size: 920 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'

path = File.dirname(__FILE__)
if File.exists?("#{path}/../.gitignore")
  %w(cicd-builder).each do |mod|
    add_path = File.expand_path(File.join(path, "../../#{mod}", "lib"))
    $:.unshift(add_path)
  end
else
  # Borrowing from "whiches" gem ...
  cmd  = File.basename(__FILE__, '.rb')
  exes = []
  exts = ENV['PATHEXT'] ? ENV['PATHEXT'].split(';') : ['']
  ENV['PATH'].split(File::PATH_SEPARATOR).each do |pth|
    exts.each { |ext|
      exe = File.join(pth, "#{cmd}#{ext}")
      exes << exe if File.executable? exe
    }
  end
  if exes.size > 0
    path = File.dirname(exes[0])
  end

end
add_path = File.expand_path(File.join(path, "..", "lib"))
$:.unshift(add_path)

require 'cicd/builder/chefrepo'

# =====================================================================================================================
exit CiCd::Builder::ChefRepo::Runner.new().run()

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
chefrepo-builder-0.9.44 bin/chefrepo
chefrepo-builder-0.9.43 bin/chefrepo
chefrepo-builder-0.9.41 bin/chefrepo
chefrepo-builder-0.9.40 bin/chefrepo
chefrepo-builder-0.9.39 bin/chefrepo
chefrepo-builder-0.9.38 bin/chefrepo
chefrepo-builder-0.9.37 bin/chefrepo
chefrepo-builder-0.9.36 bin/chefrepo
chefrepo-builder-0.9.35 bin/chefrepo
chefrepo-builder-0.9.34 bin/chefrepo
chefrepo-builder-0.9.32 bin/chefrepo
chefrepo-builder-0.9.31 bin/chefrepo
chefrepo-builder-0.9.30 bin/chefrepo
chefrepo-builder-0.9.29 bin/chefrepo
chefrepo-builder-0.9.28 bin/chefrepo
chefrepo-builder-0.9.27 bin/chefrepo
chefrepo-builder-0.9.26 bin/chefrepo
chefrepo-builder-0.9.25 bin/chefrepo
chefrepo-builder-0.9.24 bin/chefrepo
chefrepo-builder-0.9.23 bin/chefrepo