Method: Licit::Licenser#check_files

Defined in:
lib/licit/licenser.rb

#check_filesObject



18
19
20
21
22
23
24
25
26
27
28
# File 'lib/licit/licenser.rb', line 18

def check_files
  result = []
  files.each do |file|
    target = File.join dir, file
    if not File.exists?(target)
      result << [:error, file, "Missing file #{file}"]
    end
  end

  result
end