Lines Matching refs:wildcard
28 # Install all the files matching +wildcard+ into the +dest_dir+
30 def install(wildcard, dest_dir, mode)
31 FileList.glob(wildcard).each do |fn|
53 # Copy all files matching +wildcard+ into the directory +dest_dir+.
54 def copy_files(wildcard, dest_dir)
55 for_matching_files(wildcard, dest_dir) { |from, to| copy(from, to) }
64 # Link all files matching +wildcard+ into the directory +dest_dir+.
65 def link_files(wildcard, dest_dir)
66 for_matching_files(wildcard, dest_dir) { |from, to| link(from, to) }
75 # Symlink all files matching +wildcard+ into the directory +dest_dir+.
76 def symlink_files(wildcard, dest_dir)
77 for_matching_files(wildcard, dest_dir) { |from, to| link(from, to) }
80 # Remove all files matching +wildcard+. If a matching file is a
84 wildcards.each do |wildcard|
85 FileList.glob(wildcard).each do |fn|
97 # Recursively delete all files and directories matching +wildcard+.
99 wildcards.each do |wildcard|
100 FileList.glob(wildcard).each do |fn|
164 wildcards.each do |wildcard|
165 FileList.glob(wildcard).each do |fn|
175 def for_matching_files(wildcard, dest_dir)
176 FileList.glob(wildcard).each do |fn|