加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 693 Bytes
一键复制 编辑 原始数据 按行查看 历史
.DEFAULT_GOAL := help
.PHONY: help
help: ## Show help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
install: ## Install necessary dependencies
npm install
watch: ## Watches for file changes and update the page automatically, similar to running `npm run build:esbuild` every time
npm run watch:esbuild
build: ## Builds the project
npm run build:esbuild
check: ## Typecheck all TypeScript files
npm run check:tsc
lintall: ## Lint the code and the CSS
npm run lint
npm run csslint
lintcode: ## Lint just the code
npm run lint
lintcss: ## Lint just the CSS
npm run csslint
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化