1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
Fini Jastrow
96497b4fef docker: Run parallel by default
[why]
When nothing is specified there is only one patcher running instead of
number-of-threads patchers. But we want the speedup as default.

[how]
Use `-j0`, although it has a small bug. We could also use `-j100%` but
then the output might confuse people even more?

Reported-by: nobk <nobk@noreply.github.com>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-02-05 18:17:20 +01:00
Fini Jastrow
7ebbc4e173 docker: Include logfile in output
[why]
Some valuable information might be in the logfile, that gets created
only on demand.

[how]
Copy it over to the output if existing.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-02-05 16:35:19 +01:00
Fini Jastrow
1fccd8a63e docker: Allow blancs in filenames
[why]
The script does not allow blanks in the font filenames.
There are also some shell warnings when run.

[how]
Simplify and always use `parallel` to run the job, even when the user
selects just one job. The problem is deciding if the passed PN is the
number one or not. We do not want to fail, but the numeric comparison
operator fails on non numbers (sometimes).

Use null termination as usual to pass filenames with blanks from a find
into something else.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-02-05 16:24:08 +01:00
nobk
abc7f3470a Docker add option -e PN=1 disable parallel fontforge 2024-02-05 05:33:13 +08:00
nobk
45e1ad998a Case insensitive fonts find 2024-02-05 04:15:15 +08:00
nobk
86b38e473f Parallel execution fontforge in docker 2024-02-05 00:54:58 +08:00
Fini Jastrow
c173f661a0 docker: Transport return code to outside
Fixes: #1316

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-11 22:34:10 +02:00
Ryan L McIntyre
dd76528ef1
Merge branch 'master' into docker 2021-11-26 18:13:11 -08:00
Ryan L McIntyre
1f350cd22a
Merge branch 'master' into master 2021-11-26 18:02:30 -08:00
Vsevolod
b51e17d824 Consider .ttc in docker entrypoint 2021-09-13 21:48:06 +03:00
Dani Llewellyn
e85d9330d5 Update docker-entrypoint.sh
* Add quotes around the variable containing the detected file name in `/in` to allow for spaces in the file names.
2021-08-19 00:04:13 +01:00
dgswilkins
68ef18e8f4 ensure font-patcher options are handled correctly by docker entry point 2021-05-15 09:51:59 -07:00
Marcus Schweda
07505ef276 Docker image 2020-03-05 18:40:18 +01:00