Sha256: 44a7a28c2be0e8e4396ff51b3e169b5e5bd7d7657e40c72e3dfb6e7bb5d0735b

Contents?: true

Size: 366 Bytes

Versions: 41

Compression:

Stored size: 366 Bytes

Contents

module Buildkite
  module Builder
    module Extensions
      class Lib < Extension
        def prepare
          lib_dir = Buildkite::Builder.root.join(Buildkite::Builder::BUILDKITE_DIRECTORY_NAME, 'lib')

          if lib_dir.directory? && !$LOAD_PATH.include?(lib_dir)
            $LOAD_PATH.unshift(lib_dir)
          end
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
buildkite-builder-4.15.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.14.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.13.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.12.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.11.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.10.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.8.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.7.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.6.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.5.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.4.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.3.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.2.5 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.2.4 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.2.3 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.2.2 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.2.1 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.2.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.1.2 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.1.1 lib/buildkite/builder/extensions/lib.rb