lib/shaddox/config.rb in shaddox-0.0.19 vs lib/shaddox/config.rb in shaddox-0.0.20
- old
+ new
@@ -37,9 +37,10 @@
raise "The target :#{target_key} could not be found. Please check your Doxfile.".red unless target
info "Deploying to #{target_key}..."
begin
script_opts = {}
script_opts[:installer] = target.installer if target.respond_to? :installer
+ script_opts[:debug] = opts[:debug] if opts[:debug]
script = ShadowScript.new(self, task_key, script_opts)
target.deploy(script, opts)
info "Provisioning on :#{target_key} complete.".green
rescue TargetError => e
err "Provisioning on :#{target_key} failed:".red