Sha256: 491c67e02246c6f8da75ec052e3b12e9a9dc50a4ce8e8eebb1518e98457f3843
Contents?: true
Size: 647 Bytes
Versions: 9
Compression:
Stored size: 647 Bytes
Contents
require 'fileutils' module Conventions def Conventions.working_dir File.expand_path('work') end def Conventions.init_working_dir if !File.directory?(working_dir) FileUtils::makedirs(working_dir) end end def Conventions.p4droot_dir File.expand_path(File.join(working_dir,'p4droot')) end def Conventions.client_root_dir File.expand_path(File.join(working_dir,'clients')) end def Conventions.init_p4droot_dir if !File.directory?(p4droot_dir) FileUtils::makedirs(p4droot_dir) end end def Conventions.p4d_log_path File.expand_path(File.join(working_dir, 'server.log')) end end
Version data entries
9 entries across 9 versions & 1 rubygems