forked from rancher/stackstate-product-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (31 loc) · 693 Bytes
/
Copy pathMakefile
File metadata and controls
37 lines (31 loc) · 693 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
.PHONY: all test
.PHONY: local
local:
mkdir -p tmp
npx antora --version
npx antora --stacktrace --log-format=pretty --log-level=info \
ss-local-playbook.yml \
2>&1 | tee tmp/local-build.log
.PHONY: remote
remote:
mkdir -p tmp
npx antora --version
npx antora --stacktrace --log-format=pretty --log-level=info \
ss-remote-playbook.yml \
2>&1 | tee tmp/remote-build.log
.PHONY: clean
clean:
rm -rf build
.PHONY: environment
environment:
npm ci || npm install
.PHONY: checkmake
checkmake:
@if [ $$(which checkmake 2>/dev/null) ]; then \
checkmake Makefile; \
else \
echo "checkmake not available"; \
fi
.PHONY: preview
preview:
npx http-server build/remote-site -c-1