Method: Ruber::ProjectDirScanner#project_files

Defined in:
lib/ruber/project_dir_scanner.rb

#project_filesObject



83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/ruber/project_dir_scanner.rb', line 83

def project_files
  res = Set.new
  dir = @project.project_directory
  Ruber[:app].chdir dir do
    Find.find '.' do |f|
      next if File.directory? f
      #remove the leading './'
      f = f[2..-1]
      res << File.join(dir, f) if file_in_project? f
    end
  end
  res
end