src/Pure/Admin/build_eptcs.scala
changeset 76479 8ac1d83301b5
parent 76478 d84568379f3f
child 76518 b30b8e23383c
equal deleted inserted replaced
76478:d84568379f3f 76479:8ac1d83301b5
     1 /*  Title:      Pure/Admin/build_eptcs.scala
     1 /*  Title:      Pure/Admin/build_eptcs.scala
     2     Author:     Makarius
     2     Author:     Makarius
     3 
     3 
     4 Build Isabelle component for EPTCS style.
     4 Build Isabelle component for EPTCS LaTeX style.
     5 
     5 
     6 See also:
     6 See also:
     7   - http://style.eptcs.org
     7   - http://style.eptcs.org
     8   - https://github.com/EPTCS/style/releases
     8   - https://github.com/EPTCS/style/releases
     9 */
     9 */
    67 
    67 
    68 
    68 
    69   /* Isabelle tool wrapper */
    69   /* Isabelle tool wrapper */
    70 
    70 
    71   val isabelle_tool =
    71   val isabelle_tool =
    72     Isabelle_Tool("build_eptcs", "build component for EPTCS style",
    72     Isabelle_Tool("build_eptcs", "build component for EPTCS LaTeX style",
    73       Scala_Project.here,
    73       Scala_Project.here,
    74       { args =>
    74       { args =>
    75         var target_dir = Path.current
    75         var target_dir = Path.current
    76         var base_url = default_url
    76         var base_url = default_url
    77         var version = default_version
    77         var version = default_version
    82   Options are:
    82   Options are:
    83     -D DIR       target directory (default ".")
    83     -D DIR       target directory (default ".")
    84     -U URL       download URL (default: """" + default_url + """")
    84     -U URL       download URL (default: """" + default_url + """")
    85     -V VERSION   version (default: """" + default_version + """")
    85     -V VERSION   version (default: """" + default_version + """")
    86 
    86 
    87   Build component for EPTCS style.
    87   Build component for EPTCS LaTeX style.
    88 """,
    88 """,
    89           "D:" -> (arg => target_dir = Path.explode(arg)),
    89           "D:" -> (arg => target_dir = Path.explode(arg)),
    90           "U:" -> (arg => base_url = arg),
    90           "U:" -> (arg => base_url = arg),
    91           "V:" -> (arg => version = arg))
    91           "V:" -> (arg => version = arg))
    92 
    92