diff options
author | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-08-19 20:22:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-19 20:22:46 +0200 |
commit | f91fa29836b9270089ed02ac1a5c49bbee185c40 (patch) | |
tree | e529b16667e3c988b8d9a9da807733e482739e00 /build.sh | |
parent | e185fcdc7c9a2bc9fdc7372158063b2ca9cba6b3 (diff) | |
parent | 04e8c473ce137660b8f228d20e98a9cd4c52a788 (diff) | |
download | suplement-sprawnosci-f91fa29836b9270089ed02ac1a5c49bbee185c40.tar.gz suplement-sprawnosci-f91fa29836b9270089ed02ac1a5c49bbee185c40.zip |
Merge pull request #1 from 19pdh/typst
Move from neatroff to typst
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..a2fec98 --- /dev/null +++ b/build.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if command -v nix-shell; then + nix-shell -p typst --run "TYPST_FONT_PATHS=fonts typst compile suplement.typ" +else + TYPST_FONT_PATHS=fonts typst compile suplement.typ +fi + +cp suplement.pdf html/suplement.pdf +find krazki -iname '*.png' -o -iname '*.svg' | zip -@ html/krazki.zip \ No newline at end of file |