-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
58 lines (38 loc) · 1.57 KB
/
Makefile
File metadata and controls
58 lines (38 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.PHONY: test embed-examples build check-generated fingerprint browser-layout-test seo-cache-lint verify-examples check-registry-integrity check-confusable-pairs check-broad-surface-tours check-footgun-coverage check-notes-supported quality-checks format-examples verify-python-version verify dev deploy lint
test:
python3 -m unittest discover -s tests -v
embed-examples:
scripts/embed_example_sources.py
build: embed-examples fingerprint
check-generated: build
git diff --exit-code src/example_sources_data.py src/asset_manifest.py public/_headers
fingerprint: embed-examples
scripts/fingerprint_assets.py
browser-layout-test:
scripts/check_browser_layout.mjs
seo-cache-lint:
scripts/lint_seo_cache.py
verify-examples: build
scripts/verify_examples.py
check-registry-integrity:
scripts/check_registry_integrity.py
check-confusable-pairs:
scripts/check_confusable_pairs.py
check-broad-surface-tours:
scripts/check_broad_surface_tours.py
check-footgun-coverage:
scripts/check_footgun_coverage.py
check-notes-supported:
scripts/check_notes_supported.py
quality-checks: check-registry-integrity check-confusable-pairs check-broad-surface-tours check-footgun-coverage check-notes-supported
format-examples:
scripts/format_examples.py
verify-python-version: build
uv run --python $(VERSION) scripts/verify_examples.py --python-version $(VERSION)
lint:
uv run ruff check src tests scripts
verify: build test seo-cache-lint verify-examples quality-checks browser-layout-test lint check-generated
dev:
uv run pywrangler dev --port 9696
deploy: build
uv run pywrangler deploy