2024-07-24 17:15:05 +03:00
|
|
|
PREFIX ?= dist
|
2023-03-15 15:44:18 +03:00
|
|
|
|
2024-08-05 17:44:15 +03:00
|
|
|
.PHONY: help
|
2024-07-24 17:15:05 +03:00
|
|
|
help:
|
|
|
|
cat Makefile
|
2023-03-15 15:44:18 +03:00
|
|
|
|
2024-08-05 17:44:15 +03:00
|
|
|
.PHONY: build
|
2024-07-24 17:15:05 +03:00
|
|
|
build:
|
|
|
|
pnpm run docs:build --dest $(PREFIX)
|
2023-03-15 15:44:18 +03:00
|
|
|
|
2024-08-05 17:44:15 +03:00
|
|
|
.PHONY: install
|
2024-07-24 17:15:05 +03:00
|
|
|
install: build
|
|
|
|
|
2024-08-05 17:44:15 +03:00
|
|
|
.PHONY: dev
|
2024-07-24 17:15:05 +03:00
|
|
|
dev:
|
|
|
|
pnpm run docs:dev
|
|
|
|
|
2024-08-05 17:44:15 +03:00
|
|
|
.PHONY: deps
|
2024-07-24 17:15:05 +03:00
|
|
|
deps:
|
|
|
|
pnpm install
|
2023-03-15 15:44:18 +03:00
|
|
|
|
2024-08-05 17:44:15 +03:00
|
|
|
.PHONY: init-git-hooks
|
2024-07-25 16:59:34 +03:00
|
|
|
init-git-hooks:
|
|
|
|
ln -sf $(PWD)/scripts/pre-commit $(PWD)/.git/hooks/pre-commit
|
|
|
|
|
2024-08-05 17:44:15 +03:00
|
|
|
.PHONY: renovatebot
|
|
|
|
renovatebot:
|
|
|
|
docker run \
|
|
|
|
--pull always \
|
|
|
|
--rm \
|
|
|
|
-eGITHUB_COM_TOKEN \
|
|
|
|
-eRENOVATE_TOKEN \
|
|
|
|
-eRENOVATE_PLATFORM \
|
|
|
|
-eRENOVATE_ENDPOINT \
|
|
|
|
-eRENOVATE_REPOSITORIES \
|
|
|
|
renovate/renovate
|
|
|
|
|