1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00

Fix make watch for generated files (#20794)

- Don't rebuild the binary when generated files are updated, which is the
case by-default when running `make watch`.
This commit is contained in:
Gusted 2022-08-14 21:22:09 +00:00 committed by GitHub
parent 4f56ab3bf3
commit 293544587c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,4 +7,4 @@ bin = "gitea"
include_ext = ["go", "tmpl"] include_ext = ["go", "tmpl"]
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"] exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"]
include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"] include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"]
exclude_regex = ["_test.go$"] exclude_regex = ["_test.go$", "_gen.go$"]