diff options
Diffstat (limited to 'gup')
| -rw-r--r-- | gup/all.gup | 3 | ||||
| -rwxr-xr-x | gup/literature.bibtex.gup | 9 | ||||
| -rw-r--r-- | gup/literature.meta.yml.gup | 4 |
3 files changed, 16 insertions, 0 deletions
diff --git a/gup/all.gup b/gup/all.gup new file mode 100644 index 0000000..ad40ad4 --- /dev/null +++ b/gup/all.gup | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/usr/bin/env sh | ||
| 2 | |||
| 3 | gup -u literature.pdf | ||
diff --git a/gup/literature.bibtex.gup b/gup/literature.bibtex.gup new file mode 100755 index 0000000..cabebc3 --- /dev/null +++ b/gup/literature.bibtex.gup | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #!/usr/bin/env zsh | ||
| 2 | |||
| 3 | typeset -a bibFiles | ||
| 4 | bibFiles=(literature/**/*.bibtex) | ||
| 5 | |||
| 6 | gup --contents <<<${bibFiles} | ||
| 7 | gup -u ${bibFiles} | ||
| 8 | |||
| 9 | cat ${bibFiles} >$1 \ No newline at end of file | ||
diff --git a/gup/literature.meta.yml.gup b/gup/literature.meta.yml.gup new file mode 100644 index 0000000..952842a --- /dev/null +++ b/gup/literature.meta.yml.gup | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #!/usr/bin/env zsh | ||
| 2 | |||
| 3 | gup -u literature.bibtex | ||
| 4 | gup --leave | ||
