更新若干功能
This commit is contained in:
10
Taskfile.yml
10
Taskfile.yml
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user