Sha256: 3fdb3a972ab05def5c192c6068b549459b0a73d5b29a9ecb7f34fcef0b09ae12

Contents?: true

Size: 943 Bytes

Versions: 19

Compression:

Stored size: 943 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/ansiblerepo'

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ansiblerepo-builder-0.5.4 bin/ansiblerepo
ansiblerepo-builder-0.5.3 bin/ansiblerepo
ansiblerepo-builder-0.5.1 bin/ansiblerepo
ansiblerepo-builder-0.5.0 bin/ansiblerepo
ansiblerepo-builder-0.4.9 bin/ansiblerepo
ansiblerepo-builder-0.4.8 bin/ansiblerepo
ansiblerepo-builder-0.4.7 bin/ansiblerepo
ansiblerepo-builder-0.4.6 bin/ansiblerepo
ansiblerepo-builder-0.4.5 bin/ansiblerepo
ansiblerepo-builder-0.4.4 bin/ansiblerepo
ansiblerepo-builder-0.4.2 bin/ansiblerepo
ansiblerepo-builder-0.4.0 bin/ansiblerepo
ansiblerepo-builder-0.3.9 bin/ansiblerepo
ansiblerepo-builder-0.3.8 bin/ansiblerepo
ansiblerepo-builder-0.3.7 bin/ansiblerepo
ansiblerepo-builder-0.3.6 bin/ansiblerepo
ansiblerepo-builder-0.3.5 bin/ansiblerepo
ansiblerepo-builder-0.3.4 bin/ansiblerepo
ansiblerepo-builder-0.3.3 bin/ansiblerepo