feat: support cli development

This commit is contained in:
jeasonnow
2023-07-06 11:00:15 +08:00
parent 7bec1a6290
commit dd66190e49
7 changed files with 36 additions and 489 deletions

View File

@@ -71,6 +71,10 @@ export default abstract class BaseBuilder {
await this.buildAndCopy(url, this.options.targets);
}
async start(url: string) {
await mergeConfig(url, this.options, tauriConfig);
}
async buildAndCopy(url: string, target: string) {
const { name } = this.options;
await mergeConfig(url, this.options, tauriConfig);