mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 05:20:00 +08:00
Don't clean directory on subsequent builds
This commit is contained in:
parent
28e31c46c6
commit
771efa527f
@ -292,7 +292,10 @@ func AddBuildSubcommand(app *clir.Cli, w io.Writer) {
|
|||||||
logger.Println("Error: ", err.Error())
|
logger.Println("Error: ", err.Error())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Subsequent iterations
|
||||||
buildOptions.IgnoreFrontend = true
|
buildOptions.IgnoreFrontend = true
|
||||||
|
buildOptions.CleanBuildDirectory = false
|
||||||
|
|
||||||
// Output stats
|
// Output stats
|
||||||
buildOptions.Logger.Println(fmt.Sprintf("Built '%s' in %s.\n", outputFilename, time.Since(start).Round(time.Millisecond).String()))
|
buildOptions.Logger.Println(fmt.Sprintf("Built '%s' in %s.\n", outputFilename, time.Since(start).Round(time.Millisecond).String()))
|
||||||
|
Loading…
Reference in New Issue
Block a user