6 inherit (fontbakery) pname version src;
9 runCommand "${pname}-tests" { meta.timeout = 5; } ''
10 # Check the version matches what we packaged.
11 ${fontbakery}/bin/fontbakery --version | grep -q "${version}"
13 # Can it list its own subcommands?
14 ${fontbakery}/bin/fontbakery --list-subcommands >>$out
16 # Unpack src to get some test fonts.
17 tar -xzf ${src} --strip-components=1 ${pname}-${version}/data/test
19 # Run some font checks.
20 ${fontbakery}/bin/fontbakery check-ufo-sources --no-progress --no-colors data/test/test.ufo >>$out