Sha256: 9a364b8a6bec809f70c649f20d5c42845adcd22069b6a4c3144ce3ec8a2476b6

Contents?: true

Size: 482 Bytes

Versions: 20

Compression:

Stored size: 482 Bytes

Contents

module Evrone
  module CI
    class Router
      class ScriptBuilder

        Script = Struct.new(:app) do

          include Helper::TraceShCommand

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

        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
evrone-ci-router-0.2.0.pre22 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre21 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre20 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre19 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre18 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre17 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre15 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre14 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre13 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre12 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre11 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre10 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre9 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre8 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre7 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre6 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre5 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre4 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre3 lib/evrone/ci/router/script_builder/script.rb
evrone-ci-router-0.2.0.pre1 lib/evrone/ci/router/script_builder/script.rb