lib/vx/builder/script/script.rb in vx-builder-0.0.2 vs lib/vx/builder/script/script.rb in vx-builder-0.0.3
- old
+ new
@@ -5,9 +5,12 @@
Script = Struct.new(:app) do
include Helper::TraceShCommand
def call(env)
+ env.source.before_install.each do |c|
+ env.before_install << trace_sh_command(c)
+ end
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)