class Buildkite::Builder::Loaders::Manifests

Constants

MANIFESTS_PATH

Public Instance Methods

load() click to toggle source
# File lib/buildkite/builder/loaders/manifests.rb, line 9
def load
  return unless manifests_path.directory?

  manifests_path.children.map do |file|
    add(file.basename, Manifest.new(Buildkite::Builder.root, file.readlines))
  end
end
manifests_path() click to toggle source
# File lib/buildkite/builder/loaders/manifests.rb, line 17
def manifests_path
  root.join(MANIFESTS_PATH)
end