Skip to content

Commit

Permalink
fix: use contentName while calculate coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-semenov committed May 19, 2024
1 parent 3db25c2 commit 25d5494
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ $(BUILD_DIR)parigp.sublime-tooltip: $(BUILD_DIR)gp_commands.tsv

$(ROOT_DIR)images/coverage-badge.svg:
$(eval REFS := $(shell yq \
'[.. | select(has("name") and .name != "PARI/GP") | .name] | @tsv' \
'[.. | select(has("name") or has("contentName") and .name != "PARI/GP") | "\(.name) \(.contentName)"] | @tsv' \
$(ROOT_DIR)src/*.YAML-tmLanguage* |\
xargs -n1 | sort | uniq))
xargs -n1 | grep -v null | sort | uniq))
$(eval SCOPES_UNDER_TEST := $(shell tail -n+2 $(TEST_CASES) |\
grep -o 'source.parigp.*$$' |\
xargs -n1 | sort | uniq | grep -v source.parigp))
Expand Down

0 comments on commit 25d5494

Please sign in to comment.