Commit 3fde758dc2bd375ea2ab1e2a7188a1a3535d3c19
Revert "Publish TTF fonts too"
This reverts commit 3731e55b8f8e8e46d55d33f6cd964b9bc23b16fe. These files are larger and no better.Grey Nicholson committed on 11/2/2022, 2:36:26 PM
Parent: 7a9738d9fe4b456897fc04b3626241c772a35d32
Files changed
Makefile | changed |
generator/generate.py | changed |
Makefile | ||
---|---|---|
@@ -18,9 +18,9 @@ | ||
18 | 18 … | toolbox run pip install python-frontmatter==1.0.0 |
19 | 19 … | mkdir -p .cache |
20 | 20 … | touch $@ |
21 | 21 … | |
22 | -.cache/fonts: $(shell find ~/Software/src/Iosevka/dist/*/ttf/) $(shell find ~/Software/src/Iosevka/dist/*/woff2/) ~/Software/src/smol-emoji/SmolEmoji-Regular.otf | |
22 … | +.cache/fonts: $(shell find ~/Software/src/Iosevka/dist/*/woff2/) ~/Software/src/smol-emoji/SmolEmoji-Regular.otf | |
23 | 23 … | touch $@ |
24 | 24 … | |
25 | 25 … | lint: .cache/lint |
26 | 26 … |
generator/generate.py | |||
---|---|---|---|
@@ -25,13 +25,8 @@ | |||
25 | 25 … | os.path.expanduser(f"~/Software/src/Iosevka/dist/{font}/woff2"), | |
26 | 26 … | os.path.join(output_dir, f"style/fonts/{font}/woff2"), | |
27 | 27 … | dirs_exist_ok=True, | |
28 | 28 … | ) | |
29 | - shutil.copytree( | ||
30 | - os.path.expanduser(f"~/Software/src/Iosevka/dist/{font}/ttf"), | ||
31 | - os.path.join(output_dir, f"style/fonts/{font}/ttf"), | ||
32 | - dirs_exist_ok=True, | ||
33 | - ) | ||
34 | 29 … | shutil.copy( | |
35 | 30 … | os.path.expanduser(f"~/Software/src/Iosevka/dist/{font}/{font}.css"), | |
36 | 31 … | os.path.join(output_dir, f"style/fonts/{font}"), | |
37 | 32 … | ) |
Built with git-ssb-web