Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (37 loc) · 1.39 KB
/
Copy pathMakefile
File metadata and controls
43 lines (37 loc) · 1.39 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
.PHONY: check check-all check-performance generate serve
TYPESCRIPT_SCOPE ?= site
check:
python3 scripts/build_styles.py --check
python3 scripts/update_sleep_assets.py --check
npm run check:generated-js -- --scope $(TYPESCRIPT_SCOPE)
python3 scripts/update_site_shell.py --check
python3 scripts/update_favorites_pages.py --check
python3 scripts/update_image_dimensions.py --check
python3 scripts/generate_og_images.py --check
python3 scripts/check_blog_generation.py
python3 scripts/build_pages.py --check
python3 scripts/update_hand_work_contact_feet.py --check
python3 scripts/update_work_jsonld.py --check
python3 scripts/check_site.py
python3 scripts/check_performance.py
python3 scripts/sync_skills.py --check
find src/js -name '*.js' -print0 | xargs -0 -n 1 node --check
node --test tests/*.test.cjs
node scripts/test_sleep_charts.cjs
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -p 'test_*.py'
check-all:
$(MAKE) check TYPESCRIPT_SCOPE=all
check-performance:
python3 scripts/check_performance.py
generate:
python3 scripts/build_styles.py
npm run build:ts
python3 scripts/update_sleep_assets.py
python3 scripts/update_site_shell.py
python3 scripts/update_image_dimensions.py
python3 generate_blog_pages.py
python3 scripts/build_pages.py
python3 scripts/update_hand_work_contact_feet.py
python3 scripts/update_favorites_pages.py
serve:
python3 -m http.server 8000