24 lines
305 B
Makefile
24 lines
305 B
Makefile
PREFIX ?= dist
|
|
|
|
.PHONY: help
|
|
help:
|
|
cat Makefile
|
|
|
|
.PHONY: build
|
|
build:
|
|
pnpm run build --dest $(PREFIX)
|
|
|
|
.PHONY: install
|
|
install: build
|
|
|
|
.PHONY: dev
|
|
dev:
|
|
pnpm run dev
|
|
|
|
.PHONY: deps
|
|
deps:
|
|
pnpm install
|
|
|
|
.PHONY: init-git-hooks
|
|
init-git-hooks:
|
|
ln -sf $(PWD)/scripts/pre-commit $(PWD)/.git/hooks/pre-commit
|