| author | Christian Urban <christian.urban@kcl.ac.uk> | 
| Tue, 19 Oct 2021 22:51:51 +0100 | |
| changeset 846 | c24d16c89c48 | 
| parent 836 | c8c30949e06f | 
| child 887 | 67d6615fa6e3 | 
| 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() }