forked from toolshed/abra
Fix Makefile & .drone.yml
This commit is contained in:
10
Makefile
10
Makefile
@ -85,15 +85,7 @@ update-pot:
|
||||
|
||||
.PHONY: update-pot-po-metadata
|
||||
update-pot-po-metadata:
|
||||
@sed -i "s/charset=CHARSET/charset=UTF-8/g" pkg/i18n/locales/*.po pkg/i18n/locales/*.pot*
|
||||
|
||||
.PHONY: 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
|
||||
@if ! git diff-files --quiet; then \
|
||||
git diff pkg/i18n/locales/abra.pot; \
|
||||
exit 1; \
|
||||
fi
|
||||
@sed -i "s/charset=CHARSET/charset=UTF-8/g" pkg/i18n/locales/*.po pkg/i18n/locales/*.pot
|
||||
|
||||
.PHONY: build-mo
|
||||
build-mo:
|
||||
|
Reference in New Issue
Block a user