lib/mnogootex/job/warden.rb in mnogootex-1.0.1 vs lib/mnogootex/job/warden.rb in mnogootex-1.1.0
- old
+ new
@@ -34,11 +34,12 @@
def init_porters
@configuration['jobs'].each do |cls|
@porters << Mnogootex::Job::Porter.new(
hid: cls,
- source_path: @source
+ source_path: @source,
+ work_path: @configuration['work_path'],
)
end
end
def exec_porters
@@ -50,10 +51,10 @@
end
def init_and_exec_runners
@runners = @porters.map do |porter|
Mnogootex::Job::Runner.new(
- cl: commandline(porter.target_path),
+ cmd: commandline(porter.target_path),
chdir: porter.target_dir
)
end
end