Add 'watch-backend' (#12330)
* Add 'watch-backend' This leverages `air` to watch the backend files and trigger `make backend` automatically when they change. It seems to work rather well together with `watch-frontend`. Fixes: https://github.com/go-gitea/gitea/issues/12318 * rework docs to a new section for continuous build Co-authored-by: techknowlogick <techknowlogick@gitea.io>tokarchuk/v1.17
parent
bfb25e4be1
commit
e67c042511
@ -0,0 +1,9 @@ |
||||
root = "." |
||||
tmp_dir = ".air" |
||||
|
||||
[build] |
||||
cmd = "make backend" |
||||
bin = "gitea" |
||||
include_ext = ["go", "tmpl"] |
||||
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"] |
||||
include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"] |
Loading…
Reference in new issue