Merge branch 'master' into master

This commit is contained in:
YuKun Liu authored and GitHub committed 2022-11-03 00:21:31 -07:00
commit ad1ed6cfb5
4 files changed
+20 -24

No files matched your search

-6
View File
@@ -284,12 +284,6 @@ pub fn build_desktop(config: &CrateConfig, is_serve: bool) -> Result<()> {
}
if output.status.success() {
// this code will clean the output dir.
// if using the serve, we will not clean the out_dir.
if config.out_dir.is_dir() && !is_serve {
remove_dir_all(&config.out_dir)?;
}
let release_type = match config.release {
true => "release",
false => "debug",