lib/wire/model/project.rb
# return project's var/tmp directory, will be configurable
# in the future
return project's var/tmp directory, will be configurable
in the future
return project ' s var / tmp directory will be configurable in the future
def vartmp_dir
      state_dir = File.join(@target_dir, '.state')
      unless File.directory? state_dir
        FileUtils.mkdir_p state_dir
        $log.debug "created state dir #{state_dir}"
      end
      state_dir
    end
def vartmp_dir state_dir = File . join ( @target_dir , '.state' ) unless File . directory? state_dir FileUtils . mkdir_p state_dir $log . debug "created state dir #{state_dir}" end state_dir end
return project's var/tmp directory, will be configurable
in the future
return project ' s var / tmp directory will be configurable in the future
# as of now, use .state in target dir