更新若干功能

This commit is contained in:
李琦
2026-08-15 17:18:00 +08:00
parent 4954295961
commit 6a81e479ef
77 changed files with 8165 additions and 2372 deletions

View File

@@ -22,10 +22,18 @@ tasks:
- task: "{{.GOOS}}:build"
package:
summary: Packages a production build of the application
summary: Packages a production build of the application (+ nl-pms-api when changed)
cmds:
- task: api:package
- task: "{{.GOOS}}:package"
# 打包云端 API源码有改动才重编FORCE=1 强制。
# 产出 bin/nl-pms-api/linux/amd64 二进制 + init.sql + migrations + config.example.yaml
api:package:
summary: Packages nl-pms-api into bin/nl-pms-api (skip if unchanged)
cmds:
- powershell -NoProfile -ExecutionPolicy Bypass -File ./tools/package-api.ps1 {{if eq .FORCE "1"}}-Force{{end}}
run:
summary: Runs the application
cmds: