zine: XMPP - 25 years of Digital Independence (Daniel Gultsch)
This commit is contained in:
parent
0b95225106
commit
a4a9789d63
6 changed files with 1978 additions and 0 deletions
15
XMPP - 25 years/dev.sh
Executable file
15
XMPP - 25 years/dev.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
name="$(basename "$(pwd)")"
|
||||
|
||||
t="$(mktemp --suffix=.pdf)"
|
||||
if ! typst compile --root .. ./main.typ "$t"; then
|
||||
echo "Failed to compile $name/main.typ. Please fix errors and run me again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Initial compilation successful. Now starting watch mode. Opening $t"
|
||||
xdg-open "$t"
|
||||
|
||||
typst watch --root .. ./main.typ "$t"
|
||||
Loading…
Reference in a new issue