Sha256: 3fe310cc0c776368182c5f468cd3033f80e843cdd696780118e7c2fc0e8e8651
Contents?: true
Size: 508 Bytes
Versions: 16
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true module Buildkite module Builder module Loaders class Manifests < Abstract MANIFESTS_PATH = Pathname.new('manifests').freeze 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 def manifests_path root.join(MANIFESTS_PATH) end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems