File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,14 +127,11 @@ preview-docs:
127127
128128# ########################## test ###################################
129129
130- .PHONY : test test-go test-ts lint-ts
130+ .PHONY : test test-go test-ts
131131.PHONY : test-ts-core test-ts-components test-ts-admin test-ts-themes
132132.PHONY : test-ts-docs
133133.PHONY : test-ts-plugin-about test-ts-plugin-api
134134
135- lint-ts :
136- pnpm run lint
137-
138135# 执行 Go 测试
139136test-go : mk-coverage
140137 go vet -v ./...
@@ -171,6 +168,17 @@ test-ts: build-ts mk-coverage
171168# 执行测试内容
172169test : test-go test-ts
173170
171+ # ############################ lint ###############################
172+ .PHONY : lint lint-ts lint-go
173+
174+ lint-ts :
175+ pnpm run lint
176+
177+ lint-go :
178+ go vet ./cmfx
179+
180+ lint : lint-ts lint-go
181+
174182# ############################ changelog ###############################
175183
176184# 生成 CHANGELOG.md 文件,接受 from 和 to 参数,用于指定生成的范围,一般为 git tag 值。
You can’t perform that action at this time.
0 commit comments