mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-30 12:21:06 +00: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>
10 lines
283 B
Plaintext
10 lines
283 B
Plaintext
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"]
|