gaplo917 / Ligatured-Hack

Automatically patch latest Hack Font with latest JetBrains Mono / FiraCode Ligatures
GNU General Public License v3.0
268 stars 13 forks source link

Help regarding a custom build #10

Closed Kenneth-Mata closed 1 year ago

Kenneth-Mata commented 1 year ago

I forked the repo and i'm trying to use a docker image to build, the docker image successfully builds, but in running them i get Error: pattern 'fonts/scheme/scheme-regular.ttf' didn't match any files.

i have this in build.py

tasks = [
    {
        'input': 'fonts/scheme/scheme-regular.ttf',
        'ligatures': [
            'fonts/fira/distr/ttf/FiraCode-Regular.otf',
            'fonts/jetbrainsmono/fonts/ttf/JetBrainsMono-Regular.ttf'
        ]
    },
]

and the directory is like this

2022-10-18_21-33

gaplo917 commented 1 year ago

Please add ignore pattern whitelist rule in the .dockerignore.

Root Cause: The docker context ignored your fonts and didn't copy to build context.

Kenneth-Mata commented 1 year ago

Worked, thanks!