From 015aa0267bf3b2baa04b580273215cf2d6bc034d Mon Sep 17 00:00:00 2001 From: guidotheelen Date: Wed, 6 May 2020 12:03:09 +0200 Subject: [PATCH] always run sequence checks or bypass --- Makefile | 4 +++- check_emoji_sequences.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8e3d05b1b..3e1f820ee 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/check_emoji_sequences.py b/check_emoji_sequences.py index 838643fe3..94222213c 100755 --- a/check_emoji_sequences.py +++ b/check_emoji_sequences.py @@ -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):