mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-05 13:02:54 +00:00
feat: nix flake for development
This commit is contained in:
committed by
Rainer Killinger
parent
06f3120345
commit
945ae039eb
@@ -86,15 +86,9 @@ async function minifyIconFont() {
|
||||
}
|
||||
glyphs.sort();
|
||||
|
||||
const pythonPath = `"${await run('npm config get python')}"`;
|
||||
console.log(`Using python from npm config ${pythonPath}`);
|
||||
console.log(await run(`${pythonPath} --version`));
|
||||
console.log(await run([pythonPath, '-m', 'pip', 'install', 'fonttools[ufo,lxml,unicode,woff]']));
|
||||
|
||||
console.log(
|
||||
await run([
|
||||
pythonPath,
|
||||
'-m fontTools.subset',
|
||||
'pyftsubset',
|
||||
`"${config.inputPath}"`,
|
||||
`--unicodes=${glyphs.join(',')}`,
|
||||
'--no-layout-closure',
|
||||
|
||||
Reference in New Issue
Block a user