-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (29 loc) · 691 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (29 loc) · 691 Bytes
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
.PHONY: format
format:
@yamlfmt .
.PHONY: build
build:
uv run rendercv render CV.yaml \
--dont-generate-markdown \
--dont-generate-html \
--dont-generate-png
.PHONY: build-watch
build-watch:
uv run rendercv render --watch CV.yaml \
--dont-generate-markdown \
--dont-generate-html \
--dont-generate-png
.PHONY: clean
clean:
@rm -rf rendercv_output
.PHONY: check-size
check-size:
@mkdir -p ./tmp_cv
@uv run rendercv render CV.yaml \
--pdf-path ./tmp_cv/my.pdf \
--typst-path ./tmp_cv/my.typ \
--dont-generate-markdown \
--dont-generate-html \
--dont-generate-png > /dev/null
@find ./tmp_cv -type f -name *.pdf | wc -l
@rm -rf ./tmp_cv/*