(args = process.argv.slice(2))
| 181 | }, |
| 182 | 'prepare-dist': async (args) => { |
| 183 | await restoreStaticCache(); |
| 184 | await updateExtensions('static', args); |
| 185 | await $`bun run build`; |
| 186 | } |
| 187 | }; |
| 188 | |
| 189 | export 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 | } |
no test coverage detected