Sha256: fe4dea9b9675f39dcb843eef7762e14d185a6a8754c6df70de71e7c20db7149c
Contents?: true
Size: 699 Bytes
Versions: 76
Compression:
Stored size: 699 Bytes
Contents
module Vx module Builder class ScriptBuilder class Deploy < Base def call(env) do_before_deploy(env) do |e| env.source.before_deploy.each do |c| e << trace_sh_command(c) end end do_deploy_script(env) do |e| env.source.deploy_modules.each do |m| m.to_commands.each do |c| e << trace_sh_command(c) end end end do_after_deploy(env) do |e| env.source.after_deploy.each do |c| e << trace_sh_command(c) end end app.call(env) end end end end end
Version data entries
76 entries across 76 versions & 1 rubygems