Adhoc command-line tool replaces old options
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
This commit is contained in:
parent
b95826962f
commit
d7fb39d7eb
|
@ -194,8 +194,8 @@ for i in $VARS; do
|
|||
export "$i"
|
||||
done
|
||||
|
||||
ISABELLE_VERSION="Isabelle$($ISABELLE_TOOL options -g dof_isabelle)"
|
||||
DOF_VERSION="$($ISABELLE_TOOL options -g dof_version)"
|
||||
ISABELLE_VERSION="Isabelle$($ISABELLE_TOOL java isabelle.dof.DOF isabelle_version)"
|
||||
DOF_VERSION="$($ISABELLE_TOOL java isabelle.dof.DOF dof_version)"
|
||||
|
||||
ISABELLE_SHORT_VERSION=`echo $ISABELLE_VERSION | sed -e 's/:.*$//'`
|
||||
ISADOF_TAR="Isabelle_DOF-"$DOF_VERSION"_"$ISABELLE_SHORT_VERSION
|
||||
|
|
|
@ -65,4 +65,14 @@ object DOF {
|
|||
val artifact_url: String = "https://" + artifact_host + "/" + artifact_dir
|
||||
|
||||
def options(opts: Options): Options = opts + "document_comment_latex"
|
||||
|
||||
def main(args: Array[String]): Unit = {
|
||||
args.toList match {
|
||||
case List("isabelle_version") => println(isabelle_version)
|
||||
case List("dof_version") => println(version)
|
||||
case bad =>
|
||||
error("Bad Java command-line arguments" +
|
||||
(if (bad.isEmpty) "" else bad.mkString(":\n", "\n ", "")))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue