author | Christian Urban <christian.urban@kcl.ac.uk> |
Thu, 11 Nov 2021 15:58:22 +0000 | |
changeset 849 | 3d5ecb8f1f2f |
parent 836 | a3418ee8c404 |
child 887 | d9d52f3e7935 |
permissions | -rwxr-xr-x |
#!/usr/bin/env amm val files = List("cw01.tex", "cw02.tex", "cw03.tex", "cw04.tex", "cw05.tex") @main def make() = { for (f <- files) { println(s"Processing $f ...") os.proc("xelatex", f).call(stdout = os.Inherit, stdin = os.Inherit) os.proc("xelatex", f).call(stdout = os.Inherit, stdin = os.Inherit) } } @main def hg() = { os.proc("hg", "commit", "-m texupdate", files.mkString(" ")).call() }