-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
85 lines (68 loc) · 1.62 KB
/
Makefile
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.PHONY: default
default: banner generate build
.PHONY: all
all: banner generate build
.PHONY: banner
banner:
@echo -e "\033[1;37m=========================\033[0m"
@echo -e "\033[1;37mPulumi Website \033[0m"
@echo -e "\033[1;37m=========================\033[0m"
.PHONY: clean
clean:
./scripts/clean.sh
.PHONY: ensure
ensure: clean
./scripts/ensure.sh
.PHONY: ensure_tools
ensure_tools:
echo "Restoring resourcedocsgen deps..."
cd tools/resourcedocsgen && go mod download
.PHONY: serve
serve:
./scripts/serve.sh
.PHONY: serve-static
serve-static:
yarn run http-server public
.PHONY: generate
generate:
@echo -e "\033[0;32mGENERATE:\033[0m"
./scripts/run_typedoc.sh
./scripts/generate_python_docs.sh
pulumi gen-markdown ./content/docs/reference/cli
./scripts/mktutorial.sh
.PHONY: build
build:
@echo -e "\033[0;32mBUILD:\033[0m"
./scripts/build-site.sh
.PHONY: check_links
check_links:
$(MAKE) banner
$(MAKE) ensure
./scripts/link-checker/check-links.sh "https://www.pulumi.com"
.PHONY: new_learn_module
new_learn_module:
./scripts/new-learn-module.sh
.PHONY: copy_static_prebuilt
copy_static_prebuilt:
mkdir -p public && cp -R static-prebuilt/* public/
.PHONY: new_learn_topic
new_learn_topic:
./scripts/new-learn-topic.sh
.PHONY: ci_push
ci_push::
$(MAKE) banner
$(MAKE) ensure
./scripts/ci-push.sh
.PHONY: ci_pull_request
ci_pull_request:
$(MAKE) banner
$(MAKE) ensure
./scripts/ci-pull-request.sh
.PHONY: ci_pull_request_closed
ci_pull_request_closed:
$(MAKE) banner
./scripts/ci-pull-request-closed.sh
.PHONY: ci_bucket_cleanup
ci_bucket_cleanup:
$(MAKE) banner
./scripts/ci-bucket-cleanup.sh