module Pwrake::DefaultFileSystemOption

Public Instance Methods

max_postprocess_pool() click to toggle source
# File lib/pwrake/option/option_default_filesystem.rb, line 35
def max_postprocess_pool
  1
end
option_data_filesystem() click to toggle source
# File lib/pwrake/option/option_default_filesystem.rb, line 7
def option_data_filesystem
  []
end
postprocess(runner) click to toggle source
# File lib/pwrake/option/option_default_filesystem.rb, line 39
def postprocess(runner)
  Postprocess.new(runner)
end
set_filesystem_option() click to toggle source
# File lib/pwrake/option/option_default_filesystem.rb, line 11
def set_filesystem_option
  @worker_progs = %w[
    pwrake/nbio
    pwrake/branch/fiber_queue
    pwrake/worker/writer
    pwrake/worker/log_executor
    pwrake/worker/executor
    pwrake/worker/invoker
    pwrake/worker/shared_directory
    pwrake/worker/worker_main
  ]
  @worker_option = {
    :base_dir  => "",
    :work_dir  => self['WORK_DIR'],
    :log_dir   => self['LOG_DIR'],
    :gnu_time  => self['GNU_TIME'],
    :pass_env  => self['PASS_ENV'],
    :ssh_option => self['SSH_OPTION'],
    :heartbeat => self['HEARTBEAT'],
    :shared_directory => "SharedDirectory"
  }
  @queue_class = "NonLocalityQueue"
end