-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
32 lines (28 loc) · 767 Bytes
/
Copy pathmakefile
File metadata and controls
32 lines (28 loc) · 767 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
.PHONY: update-toc
update-toc:
bun x markdown-toc \
--bullets='-' \
-i \
readme.md
.PHONY: lint
lint:
bun x awesome-lint
.PHONY: test
test:
lychee \
--max-redirects 0 \
--require-https \
--method get \
--accept '200..=299,403,429' \
--timeout 60 \
--max-retries 3 \
--retry-wait-time 5 \
--user-agent 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \
--header 'Accept=text/html,application/xhtml+xml,application/xml,*/*' \
--header 'Accept-Language=en-US,en' \
--header 'Sec-Fetch-Site=none' \
--header 'Sec-Fetch-Mode=navigate' \
--header 'Sec-Fetch-User=?1' \
--header 'Sec-Fetch-Dest=document' \
--header 'Upgrade-Insecure-Requests=1' \
readme.md