summary refs log tree commit diff stats
path: root/java/dbld
diff options
context:
space:
mode:
Diffstat (limited to 'java/dbld')
-rwxr-xr-xjava/dbld6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/dbld b/java/dbld
new file mode 100755
index 0000000..440b2c2
--- /dev/null
+++ b/java/dbld
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Build assignment document for an assignment.
+# AssignmentName in $1 and typst(1) subcommand optionally in $2 (default c).
+
+typst ${2:-c} --root $PWD text/$1.typ docs/$1.pdf
+