feat(i18n): add a Makefile recipe to install i18n extraction dependencies

This commit is contained in:
Goutte 2024-01-10 16:13:34 +01:00
parent c922911024
commit 20e0d82e97

View file

@ -27,13 +27,16 @@ richtest: install_deps
$(info ******************** running tests with kyoh86/richgo ********************)
richgo test -v ./...
i18n_extract: install_i18n_deps
$(info ******************** extracting translation files ********************)
xgotext -v -in . -out locales
install_deps:
$(info ******************** downloading dependencies ********************)
go get -v ./...
install_i18n_deps:
go install github.com/leonelquinteros/gotext/cli/xgotext
clean:
rm -rf $(BIN)
i18n_extract:
$(info ******************** extracting translation files ********************)
xgotext -v -in . -out locales