Skip to content
Snippets Groups Projects
Verified Commit 96cff3d8 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Add check fonts.

parent ddc7f320
No related branches found
No related tags found
No related merge requests found
Pipeline #4983 failed
......@@ -42,6 +42,10 @@ include:
ref: *ref
# TEST
- project: 'templates/ci-snippets'
file: 'latex-report/embedded-fonts.yml'
ref: *ref
- project: 'templates/ci-snippets'
file: 'latex-report/check-links.yml'
ref: *ref
......
#!/usr/bin/env bash
set -e
# Ensure that the CWD is set to script's location
cd "${0%/*}"
CWD=$(pwd)
list=$(pdffonts ./dist/*.pdf)
i=0
while read -r line; do
if [ $i -ge 2 ];
then
res=$(echo $line | cut -d" " -f 5)
[ $res == "yes" ];
fi
i=$((i+1))
done <<< "$list"
echo "Check passed!"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment