mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-02 18:20:39 +08:00
18 lines
340 B
TypeScript
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);
|
|
}
|
|
}
|