Skip to content

Commit

Permalink
refactor: build configuration to use JSON format for server config files
Browse files Browse the repository at this point in the history
  • Loading branch information
WangYihang committed Oct 24, 2024
1 parent 1a6cca0 commit 6add212
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ testdata_dir = "testdata"
tmp_dir = "tmp"

[build]
args_bin = []
bin = "./tmp/platypus-server"
cmd = "go build -o ./tmp/platypus-server cmd/platypus-server/main.go"
args_bin = ["-c", "cmd/server/config.example.dev.json"]
bin = "./tmp/server"
cmd = "go build -o ./tmp/server cmd/server/main.go"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata", "web", "docs", ".github"]
exclude_file = []
Expand Down

0 comments on commit 6add212

Please sign in to comment.