Sha256: ba73236625628c4c5b33cb27a150f1eda6d49af54de95c3278c23c087e3b72f2

Contents?: true

Size: 937 Bytes

Versions: 35

Compression:

Stored size: 937 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'

path = File.dirname(__FILE__)
if File.exists?("#{path}/../.gitignore")
  %w(chefrepo-builder 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/manifest'

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

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
manifest-builder-0.7.5 bin/manifestbuilder
manifest-builder-0.7.4 bin/manifestbuilder
manifest-builder-0.7.3 bin/manifestbuilder
manifest-builder-0.7.2 bin/manifestbuilder
manifest-builder-0.7.1 bin/manifestbuilder
manifest-builder-0.7.0 bin/manifestbuilder
manifest-builder-0.6.9 bin/manifestbuilder
manifest-builder-0.6.8 bin/manifestbuilder
manifest-builder-0.6.7 bin/manifestbuilder
manifest-builder-0.6.6 bin/manifestbuilder
manifest-builder-0.6.5 bin/manifestbuilder
manifest-builder-0.6.4 bin/manifestbuilder
manifest-builder-0.6.2 bin/manifestbuilder
manifest-builder-0.6.0 bin/manifestbuilder
manifest-builder-0.5.15 bin/manifestbuilder
manifest-builder-0.5.14 bin/manifestbuilder
manifest-builder-0.5.13 bin/manifestbuilder
manifest-builder-0.5.12 bin/manifestbuilder
manifest-builder-0.5.11 bin/manifestbuilder
manifest-builder-0.5.10 bin/manifestbuilder