# File lib/juicer/command/verify.rb, line 35
      def self.check_all(files, log = nil)
        log ||= Logger.new($stdio)
        jslint = Juicer::JsLint.new(:bin_path => Juicer.home)
        problems = false

        # Check that JsLint is installed
        raise FileNotFoundError.new("Missing 3rd party library JsLint, install with\njuicer install jslint") if jslint.locate_lib.nil?

        # Verify all files
        files.each do |file|
          log.info "Verifying #{file} with JsLint"
          report = jslint.check(file)

          if report.ok?
            log.info "  OK!"
          else
            problems = true
            log.warn "  Problems detected"
            log.warn "  #{report.errors.join("\n").gsub(/\n/, "\n  ")}\n"
          end
        end

        !problems
      end