forgejo/modules/setting
Lunny Xiao 90237d8abd
Add more test directory to exclude dir of air, remove watching templates from air include dir because gitea has internal mechanism (#22246)
Since #20218 introduced internal watching template, template watching
should be removed from `air`. This will prevent restart the whole server
once the template files changed to speed up developing when using `make
watch`.

To ensure `make watch` will reuse template watching, this PR introduced
a new ENV `GITEA_RUN_MODE` to make sure `make watch` will always run in
a dev mode of Gitea so that template watching will open.

This PR also added more exclude testdata directories.
2022-12-27 14:00:34 +08:00
..
attachment.go
cache.go
cors.go
cron.go
cron_test.go
database.go
database_sqlite.go
database_test.go
directory.go
federation.go
git.go
i18n.go
indexer.go
indexer_test.go
lfs.go
log.go
mailer.go
markup.go
migrations.go
mime_type_map.go
mirror.go
oauth2_client.go
packages.go
packages_test.go
picture.go
project.go
proxy.go
queue.go
repository.go Add setting to disable the git apply step in test patch (#22130) 2022-12-19 19:37:15 +08:00
service.go
session.go
setting.go Add more test directory to exclude dir of air, remove watching templates from air include dir because gitea has internal mechanism (#22246) 2022-12-27 14:00:34 +08:00
setting_test.go
storage.go
storage_test.go
task.go
webhook.go