gitea/build
silverwind b9d323c3d8
Replace `google/go-licenses` with custom generation (#36575)
Rewrite `build/generate-go-licenses.go` to use `go list -m -json all`
and read license files directly from the Go module cache instead of
relying on the buggy `google/go-licenses` tool.

This removes the need for CGO, GOOS=linux, and the intermediate temp
directory, while being like 100 times faster than before:

```
$ rm assets/go-licenses.json && time make assets/go-licenses.json
go run build/generate-go-licenses.go assets/go-licenses.json
make assets/go-licenses.json  0.21s user 0.22s system 173% cpu 0.247 total

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 04:13:26 +00:00
..
generate-bindata.go Refactor embedded assets and drop unnecessary dependencies (#34692) 2025-06-12 03:59:33 +00:00
generate-emoji.go Update emoji data for Unicode 16 (#36596) 2026-02-12 21:39:36 +00:00
generate-gitignores.go
generate-go-licenses.go Replace `google/go-licenses` with custom generation (#36575) 2026-02-18 04:13:26 +00:00
test-env-check.sh
test-env-prepare.sh
update-locales.sh Use flatten translation keys (#36225) 2025-12-25 12:51:33 -08:00