updated folder array

This commit is contained in:
Johannes Nickel 2013-06-18 16:37:05 +02:00
parent 85c68442b4
commit aff81215d4

View file

@ -50,8 +50,7 @@ def checkForHeader(fileName)
end end
#folder array #folder array
#folder = ['app/assets/javascripts/app','app/controllers/', 'app/models/', 'app/helpers/', 'app/mailers/' ] folder = ['app/assets/javascripts/app','app/controllers/', 'app/models/', 'app/helpers/', 'app/mailers/' ]
folder = ['script']
folder.each do |folder| folder.each do |folder|
puts 'Working on folder' + folder.to_s puts 'Working on folder' + folder.to_s
rbfiles = File.join("../#{folder}**", "*.{rb,coffee}") rbfiles = File.join("../#{folder}**", "*.{rb,coffee}")