mirror of
https://github.com/JonasKruckenberg/tauri-build.git
synced 2025-08-14 12:55:07 +00:00
Update build-project.ts
This commit is contained in:
parent
af23b08b71
commit
4fbb5392a6
@ -21,6 +21,10 @@ interface BuildOptions {
|
||||
export async function buildProject(options: BuildOptions): Promise<string[]> {
|
||||
const args: string[] = options.args || []
|
||||
|
||||
if (options.debug) {
|
||||
args.push('--debug')
|
||||
}
|
||||
|
||||
if (options.configPath) {
|
||||
args.push('--config', options.configPath)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user