lib/vx/builder/script_builder/base.rb in vx-builder-0.5.24 vs lib/vx/builder/script_builder/base.rb in vx-builder-0.5.25

- old
+ new

@@ -40,9 +40,15 @@ if env.source.install.empty? yield env.install end end + def do_before_script(env) + if env.source.before_script.empty? + yield env.before_script + end + end + def do_deploy_script(env) if deploy?(env) yield env.script end end