gitea/build
silverwind df0fb17d04
Modernize JS build scripts ()
- Remove __dirname, use file URLs instead
- Upgrade fabric dependency
- Use fs/promises syntax, this breaks node 12 but we require 14 already

The change in public/img/favicon.svg is not caused by the fabric
upgrade, but it seems it was not properly generated when introduced.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
..
codeformat Fix `make fmt` and `make fmt-check` ()
code-batch-process.go Remove legacy `+build:` constraint ()
generate-bindata.go Remove legacy `+build:` constraint ()
generate-emoji.go Remove legacy `+build:` constraint ()
generate-gitignores.go Remove legacy `+build:` constraint ()
generate-images.js Modernize JS build scripts ()
generate-licenses.go Remove legacy `+build:` constraint ()
generate-svg.js Modernize JS build scripts ()
gitea-format-imports.go Remove legacy `+build:` constraint ()
gocovmerge.go Remove legacy `+build:` constraint ()
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 Format files ()