src/Pure/Tools/check_source.scala
changeset 62226 9f7293af6fb8
parent 60988 1d7a7e33fd67
child 62303 f868f12f9419
equal deleted inserted replaced
62225:c8c48906b858 62226:9f7293af6fb8
    42   {
    42   {
    43     Output.writeln("Checking " + root + " ...")
    43     Output.writeln("Checking " + root + " ...")
    44     Isabelle_System.hg("--repository " + File.shell_path(root) + " root").check_error
    44     Isabelle_System.hg("--repository " + File.shell_path(root) + " root").check_error
    45     for {
    45     for {
    46       file <- Isabelle_System.hg("manifest", root).check_error.out_lines
    46       file <- Isabelle_System.hg("manifest", root).check_error.out_lines
    47       if file.endsWith(".thy") || file.endsWith(".ML")
    47       if file.endsWith(".thy") || file.endsWith(".ML") || file.endsWith("/ROOT")
    48     } check_file(root + Path.explode(file))
    48     } check_file(root + Path.explode(file))
    49   }
    49   }
    50 
    50 
    51 
    51 
    52   /* command line entry point */
    52   /* command line entry point */