补齐浏览器回归和发布指纹,更新应用访问说明
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
SHELL := /bin/bash
|
||||
.DEFAULT_GOAL := help
|
||||
PYTHON := .venv/bin/python
|
||||
.PHONY: help install build test serve deploy
|
||||
.PHONY: help install build test test-browser serve deploy
|
||||
help:
|
||||
@echo 'make install | build | test | serve | deploy'
|
||||
@echo '文章: content/posts/*.md;应用: apps.json;样式: assets/site.css'
|
||||
@@ -14,6 +14,9 @@ build: install
|
||||
$(PYTHON) build.py
|
||||
test: install
|
||||
$(PYTHON) -m unittest discover -s tests -v
|
||||
test-browser: build
|
||||
npm ci
|
||||
npm run test:browser
|
||||
serve: build
|
||||
$(PYTHON) -m http.server 4176 --bind 127.0.0.1 --directory public
|
||||
deploy: test
|
||||
|
||||
Reference in New Issue
Block a user