Updated Docker configs to use Air for auto-reloading
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
[build]
|
||||
# Tell Air to use your Makefile build target directly!
|
||||
cmd = "make build BUILD_DIR=/tmp"
|
||||
|
||||
# Tell Air where your compiled binary ends up
|
||||
bin = "/tmp/blt"
|
||||
|
||||
# Watch these extensions and ignore these paths
|
||||
include_ext = ["go", "tpl", "tmpl", "html"]
|
||||
exclude_dir = ["assets", "tmp", "bin", "node_modules", "public"]
|
||||
|
||||
# Delay before rebuilding after a file save (ms)
|
||||
delay = 500
|
||||
|
||||
[log]
|
||||
time = false
|
||||
|
||||
[color]
|
||||
main = "magenta"
|
||||
build = "yellow"
|
||||
runner = "green"
|
||||
Reference in New Issue
Block a user