Browse Source

fix: separate Air binary path and args for Windows compatibility

master
dark 1 month ago
parent
commit
68aa11fa64
  1. 3
      backend/.air.toml

3
backend/.air.toml

@ -3,7 +3,8 @@ tmp_dir = "tmp"
[build] [build]
cmd = "go build -o ./tmp/base.exe base.go" cmd = "go build -o ./tmp/base.exe base.go"
bin = "./tmp/base.exe -f etc/base-api.yaml" bin = "./tmp/base.exe"
args_bin = ["-f", "etc/base-api.yaml"]
include_ext = ["go", "yaml"] include_ext = ["go", "yaml"]
exclude_dir = ["tmp", "vendor", "tests"] exclude_dir = ["tmp", "vendor", "tests"]
delay = 1000 delay = 1000

Loading…
Cancel
Save