Sha256: 0ab3c4efbed2cac2e30f1dd1a242533bfecc1483b86e8b8a92ab38225a6dec76
Contents?: true
Size: 594 Bytes
Versions: 29
Compression:
Stored size: 594 Bytes
Contents
require_relative('./commandarray.rb') class Setup < CommandArray def update if(defined?(DEV_TASKS)) DEV_TASKS[:svn_exports].each{|k,v| if(!File.exists?("#{Environment.dev_root}/dep/#{k}")) FileUtils.mkdir_p(File.dirname("#{Environment.dev_root}/dep/#{k}")) if !File.exists?("#{Environment.dev_root}/dep/#{k}") dest="#{Environment.dev_root}/dep/#{k}" add "svn export #{v} #{Environment.dev_root}/dep/#{k}" if !dest.include?("@") add "svn export #{v} #{Environment.dev_root}/dep/#{k}@" if dest.include?("@") end } end end end
Version data entries
29 entries across 29 versions & 1 rubygems