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

Function buildVariablePackage

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

Source from the content-addressed store, hash-verified

36};
37
38const buildVariablePackage = async (id: string, opts: BuildOptions) => {
39 consola.info(`Downloading ${id} ${colors.bold(colors.yellow('[VARIABLE]'))}`);
40 const optsNew = {
41 ...opts,
42 isVariable: true,
43 dir: path.join(opts.dir, 'variable', id),
44 };
45 await build(id, optsNew);
46 consola.success(
47 `Finished processing ${id} ${colors.bold(colors.yellow('[VARIABLE]'))}`,
48 );
49};
50
51const buildIconPackage = async (id: string, opts: BuildOptions) => {
52 consola.info(`Downloading ${id} ${colors.bold(colors.green('[ICON]'))}`);

Callers 1

processGoogleFunction · 0.85

Calls 2

buildFunction · 0.90
infoMethod · 0.65

Tested by

no test coverage detected