Skip to content

Commit 3a310f7

Browse files
jul-shclaude
andcommitted
remove uv references, move build script to scripts/
- Remove uv from documentation (now using Nix-provided Python packages) - Move sources/scripts/build_fonts.py to scripts/iosevka_build.py - Regenerate specimen images 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 553f2b5 commit 3a310f7

6 files changed

Lines changed: 9 additions & 12 deletions

File tree

.claude/nix-shell-usage.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ This project uses a Nix development environment that provides all necessary buil
77
## Why Use the Nix Shell?
88

99
The Nix environment (`flake.nix`) provides:
10-
- Node.js (v22.21.1)
11-
- Python (3.13.9)
10+
- Node.js
11+
- Python with all font processing packages (fonttools, fontmake, fontbakery, gftools, etc.)
1212
- Rust/Cargo (for fontspector)
1313
- ttfautohint
14-
- fontspector (1.5.1)
15-
- uv (Python package manager)
14+
- fontspector
1615
- All other build dependencies
1716

1817
## How It Works

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PLAN := sources/private-build-plans.toml
44
TEST_TARGETS := build fonts postprocess images test proof diff-postprocess
55

66
# Source dependencies for each stage
7-
BUILD_SOURCES := $(PLAN) $(shell find sources/iosevka -type f 2>/dev/null) $(shell find sources/scripts -name "build_fonts.py" 2>/dev/null)
7+
BUILD_SOURCES := $(PLAN) $(shell find sources/iosevka -type f 2>/dev/null) scripts/iosevka_build.py
88
POSTPROCESS_SOURCES := $(shell find scripts -name "post_process*.py" -o -name "fix_fonts.py" 2>/dev/null)
99

1010
# DrawBot image generation
@@ -40,7 +40,7 @@ fonts.stamp: $(BUILD_SOURCES)
4040
@echo "Using build plan: $(PLAN)"
4141
rm -rf general_use_fonts
4242
rm -rf sources/iosevka/dist
43-
python3 sources/scripts/build_fonts.py "$(PLAN)"
43+
python3 scripts/iosevka_build.py "$(PLAN)"
4444
@touch fonts.stamp
4545
@echo "==> Raw fonts built successfully in general_use_fonts/"
4646

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ The Make targets rely on the Nix flake dev shell, which not only bootstraps the
1616

1717
## Tooling
1818

19-
- Nix flake in `flake.nix` (root) provisions Node, uv, native build tools (like ttfautohint), and other supporting dependencies.
20-
- uv syncs Python dependencies and activates `.venv` automatically via the flake `shellHook`.
21-
- `sources/iosevka` is a git subtree containing the upstream Iosevka sources.
22-
- `sources/scripts/` contains build scripts for raw font generation.
23-
- `scripts/` contains post-processing scripts for Google Fonts compliance.
19+
- Nix flake in `flake.nix` (root) provisions Node, Python with all font processing packages, native build tools (like ttfautohint), and other supporting dependencies.
20+
- `sources/iosevka` is a git subtree containing the upstream Iosevka sources and Iosveka Charon build plan.
21+
- `scripts/` contains scripts for building, and post processing to achieve Google Fonts compliance.
2422

2523
## Repository layout
2624

73 Bytes
Loading

scripts/run-in-nix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Run a command inside the Nix + uv development environment with a Docker fallback.
3+
# Run a command inside the Nix development environment with a Docker fallback.
44

55
set -euo pipefail
66

0 commit comments

Comments
 (0)