diff options
Diffstat (limited to 'literature.meta.yml.gup')
-rw-r--r-- | literature.meta.yml.gup | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/literature.meta.yml.gup b/literature.meta.yml.gup new file mode 100644 index 0000000..dc8e95d --- /dev/null +++ b/literature.meta.yml.gup | |||
@@ -0,0 +1,26 @@ | |||
1 | #!/usr/bin/env zsh | ||
2 | |||
3 | exec 1>$1 | ||
4 | |||
5 | echo '---' | ||
6 | |||
7 | cat <<-EOF | ||
8 | lang: de-de | ||
9 | link-citations: true | ||
10 | EOF | ||
11 | |||
12 | printf "bibliography:\n" | ||
13 | |||
14 | typeset -a bibFiles | ||
15 | bibFiles=(literature/**.bibtex) | ||
16 | |||
17 | # sha256sum ${bibFiles} >&2 | ||
18 | |||
19 | gup --contents <<<"${bibFiles}" | ||
20 | gup -u ${bibFiles} | ||
21 | |||
22 | for bibFile (${bibFiles}); do | ||
23 | printf " - %s\n" ${bibFile} | ||
24 | done | ||
25 | |||
26 | echo '...' | ||