Sha256: a32f2de686cd3a49f1a97efc556efb1e95edfffec712c2ce70c2093cd6a24763

Contents?: true

Size: 307 Bytes

Versions: 5

Compression:

Stored size: 307 Bytes

Contents

# frozen_string_literal: true

module Buildkite
  module Builder
    module Commands
      class Preview < Abstract
        private

        self.description = 'Outputs the pipeline YAML.'

        def run
          puts Context.build(pipeline_path).pipeline.to_yaml
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
buildkite-builder-1.4.1 lib/buildkite/builder/commands/preview.rb
buildkite-builder-1.4.0 lib/buildkite/builder/commands/preview.rb
buildkite-builder-1.3.1 lib/buildkite/builder/commands/preview.rb
buildkite-builder-1.3.0 lib/buildkite/builder/commands/preview.rb
buildkite-builder-1.2.0 lib/buildkite/builder/commands/preview.rb