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

Function buildPackage

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

Source from the content-addressed store, hash-verified

26
27// Modify opts to output in correct folders
28const buildPackage = async (id: string, opts: BuildOptions) => {
29 consola.info(`Downloading ${id}`);
30 const optsNew = {
31 ...opts,
32 dir: path.join(opts.dir, 'google', id),
33 };
34 await build(id, optsNew);
35 consola.success(`Finished processing ${id}`);
36};
37
38const buildVariablePackage = async (id: string, opts: BuildOptions) => {
39 consola.info(`Downloading ${id} ${colors.bold(colors.yellow('[VARIABLE]'))}`);

Callers 1

processGoogleFunction · 0.85

Calls 2

buildFunction · 0.90
infoMethod · 0.65

Tested by

no test coverage detected