From 01f4dd4d27f220fcb52da2eda5d0989252b76b24 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 24 Aug 2022 12:39:23 +0200 Subject: [PATCH] Makefile: Do not revert pot file changes when running "make generate" Signed-off-by: Michael Mayer --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7d3a75894..ea1b335f4 100644 --- a/Makefile +++ b/Makefile @@ -140,10 +140,10 @@ generate: go generate ./pkg/... ./internal/... go fmt ./pkg/... ./internal/... # revert unnecessary pot file change - POT_UNCHANGED='1 file changed, 1 insertion(+), 1 deletion(-)' - @if [ ${$(shell git diff --shortstat assets/locales/messages.pot):1:45} == $(POT_UNCHANGED) ]; then\ - git checkout -- assets/locales/messages.pot;\ - fi + # POT_UNCHANGED='1 file changed, 1 insertion(+), 1 deletion(-)' + # @if [ ${$(shell git diff --shortstat assets/locales/messages.pot):1:45} == $(POT_UNCHANGED) ]; then\ + # git checkout -- assets/locales/messages.pot;\ + # fi clean-local-assets: rm -rf $(BUILD_PATH)/assets/* clean-local-cache: