Module: Pwrake::DefaultFileSystemOption

Included in:
Option
Defined in:
lib/pwrake/option/option_default_filesystem.rb

Instance Method Summary collapse

Instance Method Details

#max_postprocess_poolObject



35
36
37
# File 'lib/pwrake/option/option_default_filesystem.rb', line 35

def max_postprocess_pool
  1
end

#option_data_filesystemObject



7
8
9
# File 'lib/pwrake/option/option_default_filesystem.rb', line 7

def option_data_filesystem
  []
end

#postprocess(runner) ⇒ Object



39
40
41
# File 'lib/pwrake/option/option_default_filesystem.rb', line 39

def postprocess(runner)
  Postprocess.new(runner)
end

#set_filesystem_optionObject



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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