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.1.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-4.0.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.9.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.8.3 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.8.2 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.8.1 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.8.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.7.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.6.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.5.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.4.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.3.2 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.3.1 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.3.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.2.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.1.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-3.0.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-2.4.1 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-2.4.0 lib/buildkite/builder/extensions/lib.rb
buildkite-builder-2.3.0 lib/buildkite/builder/extensions/lib.rb