1 { runCommand, fontbakery }:
4 inherit (fontbakery) pname version src;
7 runCommand "${pname}-tests" { meta.timeout = 5; } ''
8 # Check the version matches what we packaged.
9 ${fontbakery}/bin/fontbakery --version | grep -q "${version}"
11 # Unpack src to get some test fonts.
12 tar -xzf ${src} --strip-components=1 ${pname}-${version}/data/test
14 # Run some font checks.
15 ${fontbakery}/bin/fontbakery check-ufo --no-progress --no-colors data/test/test.ufo >>$out