MCPcopy Create free account
hub / github.com/amrkmn/x / runTask

Function runTask

scripts/task.ts:183–192  ·  view source on GitHub ↗
(args = process.argv.slice(2))

Source from the content-addressed store, hash-verified

181 },
182 'prepare-dist': async (args) => {
183 await restoreStaticCache();
184 await updateExtensions('static', args);
185 await $`bun run build`;
186 }
187};
188
189export async function runTask(args = process.argv.slice(2)): Promise<void> {
190 const command = parseTask(args);
191
192 if (command === 'check' || command === 'static' || command === 'full') {
193 await updateExtensions(command, args);
194 return;
195 }

Callers 3

update.tsFile · 0.90
mainFunction · 0.90
task.tsFile · 0.85

Calls 2

parseTaskFunction · 0.85
updateExtensionsFunction · 0.85

Tested by

no test coverage detected