diff --git a/Makefile b/Makefile index 53262b6e..87d1228b 100644 --- a/Makefile +++ b/Makefile @@ -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