Skip to content

Commit

Permalink
Merge pull request #47 from fy23-gw-gackathon/fix/#46_fix_build_flag
Browse files Browse the repository at this point in the history
ref #46 fix build option
  • Loading branch information
averak committed May 20, 2023
2 parents 4f3df70 + 200eefa commit 40f5318
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tmp_dir = "tmp"

[build]
bin = "./tmp/main"
cmd = "go build -o ./tmp/main ."
cmd = "go build --buildvcs=false -o ./tmp/main ."
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata", "docs", "worker"]
exclude_regex = ["_test.go"]
Expand Down
2 changes: 1 addition & 1 deletion worker/.air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tmp_dir = "tmp"
[build]
args_bin = []
bin = "/worker"
cmd = "go build -o /worker ./worker"
cmd = "go build --buildvcs=false -o /worker ./worker"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata", "docs"]
exclude_regex = ["_test.go"]
Expand Down

0 comments on commit 40f5318

Please sign in to comment.