googlefonts / googlefonts-project-template

(DEMO) Repository architecture example for a typeface design project
SIL Open Font License 1.1
131 stars 27 forks source link

`make test` hard-codes static fonts #157

Closed khaledhosny closed 8 months ago

khaledhosny commented 8 months ago

Adding buildStatic: false to config file and then running make test will fail with:

find: ‘fonts/ttf’: No such file or directory
. venv-test/bin/activate; mkdir -p out/ out/fontbakery; fontbakery check-googlefonts -l WARN --full-lists --succinct --badges out/badges --html out/fontbakery/fontbakery-report.html --ghmarkdown out/fontbakery/fontbakery-report.md   || echo '::warning file=sources/config.yaml,title=Fontbakery failures::The fontbakery QA check reported errors in your font. Please check the generated report.'
No applicable files found
usage: fontbakery check-googlefonts [-h] [--configuration CONFIGFILE] [-c CHECKID] [-x EXCLUDE_CHECKID] [-v] [-q] [-l LOGLEVEL]
                                    [-m LOGLEVEL_MESSAGES] [--succinct] [-n] [-C] [-S] [-L] [-F] [--dark-theme] [--light-theme] [--timeout TIMEOUT]
                                    [--skip-network] [--json JSON_FILE] [--badges DIRECTORY] [--ghmarkdown MD_FILE] [--html HTML_FILE]
                                    [-g ITERATED_ARG] [-o ORDER] [-J JOBS] [-j] [-e ERROR_CODE_ON]
                                    [files ...]
::warning file=sources/config.yaml,title=Fontbakery failures::The fontbakery QA check reported errors in your font. Please check the generated report.