always run sequence checks or bypass

pull/299/head
guidotheelen 2020-05-06 12:03:09 +02:00
parent 5136902308
commit 015aa0267b
2 changed files with 4 additions and 2 deletions

View File

@ -224,7 +224,9 @@ $(EMOJI).ttf: check_sequence $(EMOJI).tmpl.ttf $(EMOJI_BUILDER) $(PUA_ADDER) \
@rm "$@-with-pua"
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
endif

View File

@ -303,7 +303,7 @@ def _check_coverage(seq_to_filepath, unicode_version):
coverage_pass = False
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):