googlefonts / googlefonts/gftools

packager: support wildcards in yaml file

Open
#232 2 comments 1 reaction 1 assignee Claimed by @graphicore View on GitHub
Dominant language
Python
Stars
283
Forks
73
Avg merge
21h 25m
Merged PRs (30d)
8

Description

Adding wildcards will make constructing yaml files less tedious.

Currently, you have to list every file:

```
files:
# These are some examples as comments, please modify, add, delete as necessary:
OFL.txt: OFL.txt
DESCRIPTION.en_us.html: DESCRIPTION.en_us.html
FONTLOG.txt: FONTLOG.txt
fonts/ttf/KumbhSans-Regular.ttf: KumbhSans-Regular.ttf
fonts/ttf/KumbhSans-Bold.ttf: KumbhSans-Bold.ttf
fonts/ttf/KumbhSans-Light.ttf: KumbhSans-Light.ttf
```

If we have wildcards:

```
files:
# These are some examples as comments, please modify, add, delete as necessary:
OFL.txt: OFL.txt
DESCRIPTION.en_us.html: DESCRIPTION.en_us.html
FONTLOG.txt: FONTLOG.txt
fonts/ttf/*.ttf: *.ttf
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.