diff options
author | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-08-19 20:12:14 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-08-19 20:12:14 +0200 |
commit | 2cad7c27aa2c756e2fc2b9a21d52c04b2fb95db1 (patch) | |
tree | aa1eb45c7b03f7e6ff766de1e77330d7ea9a7e47 /build.sh | |
parent | e185fcdc7c9a2bc9fdc7372158063b2ca9cba6b3 (diff) | |
download | suplement-sprawnosci-2cad7c27aa2c756e2fc2b9a21d52c04b2fb95db1.tar.gz suplement-sprawnosci-2cad7c27aa2c756e2fc2b9a21d52c04b2fb95db1.zip |
Typst init
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 |