Files
AFFiNE-Mirror/tools/cli/src/build.ts
T

18 lines
340 B
TypeScript

import { PackageCommand } from './command';
export class BuildCommand extends PackageCommand {
static override paths = [['build'], ['b']];
async execute() {
const args: string[] = [];
if (this.deps) {
args.push('--deps', '--wait-deps');
}
args.push(this.package, 'build');
await this.cli.run(args);
}
}