gitea/build
silverwind 095fdd691d
move some scripts from 'build' to 'tools' directory, misc refactors ()
- Move some scripts from `build` to new `tools` dir. Eventually i would
like to move all but let's do it step-by-step.
- Add dir to eslint and move the files into vars.
- Update docs accordingly.
- While updating docs I noticed we were incorrectly having `public/img`
path still in a few places. Replace those with the current
`public/assets/img`.

---------

Co-authored-by: Nanguan Lin <nanguanlin6@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
..
codeformat Implement FSFE REUSE for golang files ()
backport-locales.go Use `Set[Type]` instead of `map[Type]bool/struct{}`. ()
code-batch-process.go Replace `interface{}` with `any` ()
generate-bindata.go Change use of Walk to WalkDir to improve disk performance ()
generate-emoji.go Update emoji set to Unicode 15 ()
generate-gitignores.go Remove legacy `+build:` constraint ()
generate-go-licenses.go Use `Set[Type]` instead of `map[Type]bool/struct{}`. ()
generate-licenses.go Remove deprecated licenses ()
gocovmerge.go Implement FSFE REUSE for golang files ()
test-echo.go Clean some legacy files and move some build files ()
test-env-check.sh Prepare and check test env during CI ()
test-env-prepare.sh Prepare and check test env during CI ()
update-locales.sh Clarify Gitea/Crowdin locale behaviors, add tests for LocaleStore, fix some strings with semicolons ()