Makefile: Do not revert pot file changes when running "make generate"
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
c5a2753d39
commit
01f4dd4d27
8
Makefile
8
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user