MCPcopy Index your code
hub / github.com/fontsource/fontsource / buildIconPackage

Function buildIconPackage

packages/cli/src/google/queue.ts:51–61  ·  view source on GitHub ↗
(id: string, opts: BuildOptions)

Source from the content-addressed store, hash-verified

49};
50
51const buildIconPackage = async (id: string, opts: BuildOptions) => {
52 consola.info(`Downloading ${id} ${colors.bold(colors.green('[ICON]'))}`);
53 const optsNew = {
54 ...opts,
55 dir: path.join(opts.dir, 'icons', id),
56 };
57 await build(id, optsNew);
58 consola.success(
59 `Finished processing ${id} ${colors.bold(colors.green('[ICON]'))}`,
60 );
61};
62
63const buildVariableIconPackage = async (id: string, opts: BuildOptions) => {
64 consola.info(

Callers 1

processGoogleFunction · 0.85

Calls 2

buildFunction · 0.90
infoMethod · 0.65

Tested by

no test coverage detected