forked from toolshed/abra
Update check-pot-changes
This commit is contained in:
7
Makefile
7
Makefile
@ -88,8 +88,11 @@ update-pot-po-metadata:
|
|||||||
|
|
||||||
.PHONY: check-pot-changes
|
.PHONY: check-pot-changes
|
||||||
check-pot-changes:
|
check-pot-changes:
|
||||||
@git diff pkg/i18n/locales/abra.pot | grepdiff --output-matching=hunk POT-Creation-Date | git apply --reverse --allow-empty
|
@git diff pkg/i18n/locales/abra.pot | grepdiff --output-matching=hunk POT-Creation-Date | git apply --reverse --allow-empty
|
||||||
@git diff-files --quiet
|
@if ! git diff-files --quiet; then \
|
||||||
|
git diff pkg/i18n/locales/abra.pot; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
|
||||||
.PHONY: build-mo
|
.PHONY: build-mo
|
||||||
build-mo:
|
build-mo:
|
||||||
|
Reference in New Issue
Block a user