Skip to content

Commit b3908b0

Browse files
committed
Fix air file
1 parent 8a4ef32 commit b3908b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.air.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tmp_dir = "tmp"
77

88
[build]
99
# Just plain old shell command. You could use `make` as well.
10+
cmd = "go build -o ./tmp/main ."
11+
# Binary file yields from `cmd`.
12+
bin = "tmp/main"
1013
# Watch these filename extensions.
1114
include_ext = ["go", "tpl", "tmpl", "html", "yaml"]
1215
# Ignore these filename extensions or directories.

0 commit comments

Comments
 (0)