diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-10-17 20:26:49 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-10-17 22:23:21 +0200 |
| commit | 0ab311f66d6f3cb0b4d87c47e082d53fd67bb502 (patch) | |
| tree | 092f3bb6726a234aa49b898bdf677f630f6dd81a /scripts/lesson-make | |
| parent | 5a865a67d70efd3d23448a7ac885305b0f58ff5d (diff) | |
| download | unterricht-0ab311f66d6f3cb0b4d87c47e082d53fd67bb502.tar.gz unterricht-0ab311f66d6f3cb0b4d87c47e082d53fd67bb502.zip | |
support writing moodle tests in markdown
Diffstat (limited to 'scripts/lesson-make')
| -rwxr-xr-x | scripts/lesson-make | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lesson-make b/scripts/lesson-make index d5639b7a..3c6a4890 100755 --- a/scripts/lesson-make +++ b/scripts/lesson-make @@ -22,6 +22,9 @@ if [[ -z "${targets[*]}" ]]; then slides*.md) new_targets+=("${source_name/.md/.pdf}" "${source_name/.md/.pptx}") ;; + moodle-quiz.md) + new_targets+=("${source_name/.md/.xml}") + ;; *) mapfile -t new_targets < <(echo "${source}" | sed -e 's/\.tex$/.pdf/g' -e 's/\.md$/.pdf/g') ;; @@ -43,4 +46,3 @@ if [[ -z "${targets[*]}" ]]; then fi exec make -f "${MAKEFILE}" "${targets[@]}" - |
