mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-08 15:57:59 +00:00
always run sequence checks or bypass
This commit is contained in:
parent
5136902308
commit
015aa0267b
2 changed files with 4 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -224,7 +224,9 @@ $(EMOJI).ttf: check_sequence $(EMOJI).tmpl.ttf $(EMOJI_BUILDER) $(PUA_ADDER) \
|
||||||
@rm "$@-with-pua"
|
@rm "$@-with-pua"
|
||||||
|
|
||||||
check_sequence:
|
check_sequence:
|
||||||
ifdef CHECK_SEQUENCE
|
ifdef BYPASS_SEQUENCE_CHECK
|
||||||
|
@echo Bypassing the emoji sequence checks
|
||||||
|
else
|
||||||
$(PYTHON) $(SEQUENCE_CHECK_PY) -d $(EMOJI_SRC_DIR) -c
|
$(PYTHON) $(SEQUENCE_CHECK_PY) -d $(EMOJI_SRC_DIR) -c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -303,7 +303,7 @@ def _check_coverage(seq_to_filepath, unicode_version):
|
||||||
coverage_pass = False
|
coverage_pass = False
|
||||||
|
|
||||||
if not coverage_pass:
|
if not coverage_pass:
|
||||||
exit("Please fix the problems metioned above or run make without 'CHECK_SEQUENCE'")
|
exit("Please fix the problems metioned above or run: make BYPASS_SEQUENCE_CHECK='True'")
|
||||||
|
|
||||||
|
|
||||||
def check_sequence_to_filepath(seq_to_filepath, unicode_version, coverage):
|
def check_sequence_to_filepath(seq_to_filepath, unicode_version, coverage):
|
||||||
|
|
Loading…
Add table
Reference in a new issue