forked from goharbor/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (28 loc) · 602 Bytes
/
Copy pathMakefile
File metadata and controls
40 lines (28 loc) · 602 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
35
36
37
38
39
40
clean:
rm -rf public resources
prepare:
$(CURDIR)/load-docs.sh
serve:
hugo server \
--bind 0.0.0.0 \
--buildDrafts \
--buildFuture \
--disableFastRender
production-build: prepare
hugo \
preview-build: prepare
hugo \
--baseURL $(DEPLOY_PRIME_URL) \
--buildDrafts \
--buildFuture \
link-checker-setup:
curl https://htmltest.wjdp.uk | bash
run-checker:
bin/htmltest
build:
hugo \
--buildDrafts \
--buildFuture \
check-internal-links: clean build link-checker-setup run-checker
check-all-links: clean build link-checker-setup
bin/htmltest --conf .htmltest.external.yml