pleshevski.ru/Makefile

20 lines
225 B
Makefile
Raw Normal View History

2024-07-24 17:15:05 +03:00
PREFIX ?= dist
2023-03-15 15:44:18 +03:00
2024-07-24 17:15:05 +03:00
help:
cat Makefile
2023-03-15 15:44:18 +03:00
2024-07-24 17:15:05 +03:00
build:
pnpm run docs:build --dest $(PREFIX)
2023-03-15 15:44:18 +03:00
2024-07-24 17:15:05 +03:00
install: build
dev:
pnpm run docs:dev
deps:
pnpm install
2023-03-15 15:44:18 +03:00
2024-07-25 16:59:34 +03:00
init-git-hooks:
ln -sf $(PWD)/scripts/pre-commit $(PWD)/.git/hooks/pre-commit