-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (25 loc) · 1.02 KB
/
Makefile
File metadata and controls
37 lines (25 loc) · 1.02 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
SHELL := /bin/bash
DOCS_HOST ?= 127.0.0.1
DOCS_PORT ?= 4173
DOCS_URL := http://$(DOCS_HOST):$(DOCS_PORT)
.PHONY: docs-build docs-build-shell docs-smoke docs-smoke-shell docs-check docs-check-shell docs-serve docs-elements docs-elements-open docs-health
docs-build:
npm run docs:build:r2
docs-build-shell:
npm run docs:build:r2:shell
docs-smoke:
npm run docs:smoke
docs-smoke-shell:
npm run docs:smoke:shell
docs-check: docs-build docs-smoke
docs-check-shell: docs-build-shell docs-smoke-shell
docs-serve:
python3 -m http.server $(DOCS_PORT) --bind $(DOCS_HOST) -d dist/docs-site
docs-elements: docs-check
@printf 'Hidden elements fixture: %s/__elements\n' "$(DOCS_URL)"
@printf 'Run `make docs-serve` in another shell, then open that URL.\n'
docs-elements-open:
open "$(DOCS_URL)/__elements"
docs-health:
gh run list --repo openclaw/docs --branch main --limit 8 --json databaseId,workflowName,headSha,status,conclusion,url \
--jq '.[] | [.databaseId,.workflowName,.headSha[0:8],.status,(.conclusion // ""),.url] | @tsv'