mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:13:13 +01:00
e67c042511
* 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>
9 lines
283 B
Text
9 lines
283 B
Text
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"]
|