Sha256: 080f51b2d103a3ace587d8aa0208265a1038cdc671b7ac5aa9fe201587711ca4

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

module Vx
  module Builder
    class Script

      Script = Struct.new(:app) do

        include Helper::TraceShCommand

        def call(env)
          env.source.before_script.each do |c|
            env.before_script << trace_sh_command(c)
          end
          env.source.script.each do |c|
            env.script << trace_sh_command(c)
          end
          app.call(env)
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vx-builder-0.0.2 lib/vx/builder/script/script.rb