mirror of
https://github.com/JonasKruckenberg/tauri-build.git
synced 2025-08-15 05:15:06 +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[]> {
|
export async function buildProject(options: BuildOptions): Promise<string[]> {
|
||||||
const args: string[] = options.args || []
|
const args: string[] = options.args || []
|
||||||
|
|
||||||
|
if (options.debug) {
|
||||||
|
args.push('--debug')
|
||||||
|
}
|
||||||
|
|
||||||
if (options.configPath) {
|
if (options.configPath) {
|
||||||
args.push('--config', options.configPath)
|
args.push('--config', options.configPath)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user