changeset 836 | a3418ee8c404 |
child 887 | d9d52f3e7935 |
835:08b157566a73 | 836:a3418ee8c404 |
---|---|
1 #!/usr/bin/env amm |
|
2 |
|
3 val files = List("cw01.tex", |
|
4 "cw02.tex", |
|
5 "cw03.tex", |
|
6 "cw04.tex", |
|
7 "cw05.tex") |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 @main |
|
13 def make() = { |
|
14 for (f <- files) { |
|
15 println(s"Processing $f ...") |
|
16 os.proc("xelatex", f).call(stdout = os.Inherit, stdin = os.Inherit) |
|
17 os.proc("xelatex", f).call(stdout = os.Inherit, stdin = os.Inherit) |
|
18 } |
|
19 } |
|
20 |
|
21 |
|
22 @main |
|
23 def hg() = { |
|
24 os.proc("hg", "commit", "-m texupdate", files.mkString(" ")).call() |
|
25 } |