-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
70 lines (53 loc) · 1.09 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
BUMP ?= patch
FILE ?= empty
all: clean format lint lint-docs test coverage build
.PHONY: all
build:
./gradlew build
.PHONY: build
clean:
./gradlew clean
.PHONY: clean
coverage:
./gradlew koverHtmlReport koverXmlReport ${GRADLE_ARGS}
.PHONY: coverage
docs:
./gradlew dokkaHtml
.PHONY: docs
format:
./gradlew formatKotlin
.PHONY: format
lint:
./gradlew lintKotlin detekt
.PHONY: lint
local:
./gradlew build publishToMavenLocal
.PHONY: local
publish:
./scripts/publish.sh ${GITHUB_RUN_NUMBER}
.PHONY: publish
test:
./gradlew test
.PHONY: test
verify-doc:
./scripts/verify-doc.sh ${BUMP} ${FILE}
.PHONY: verify-doc
version:
./scripts/create-release.sh ${BUMP}
.PHONY: version
# Website
build-docs:
(cd website/ && yarn build)
.PHONY: build-docs
lint-docs:
npx docusaurus-mdx-checker
.PHONY: lint-docs
install-docs:
(cd website/ && yarn install)
.PHONY: install-docs
start-docs:
(cd website/ && yarn start)
.PHONY: start-docs
upgrade-docs:
(cd website/ && yarn upgrade @docusaurus/core@latest @docusaurus/preset-classic@latest @docusaurus/module-type-aliases@latest)
.PHONY: upgrade-docs