feat: add verbose flag

This commit is contained in:
YuKun Liu committed 2022-06-06 21:48:14 +08:00
1 parent d20e7ab508
commit 421d2ed298
5 files changed
+27 -1

No files matched your search

+6
View File
@@ -48,6 +48,9 @@ pub fn build(config: &CrateConfig) -> Result<()> {
if config.release {
cmd.arg("--release");
}
if config.verbose {
cmd.arg("--verbose");
}
if config.custom_profile.is_some() {
let custom_profile = config.custom_profile.as_ref().unwrap();
@@ -200,6 +203,9 @@ pub fn build_desktop(config: &CrateConfig, is_serve: bool) -> Result<()> {
if config.release {
cmd.arg("--release");
}
if config.verbose {
cmd.arg("--verbose");
}
if config.custom_profile.is_some() {
let custom_profile = config.custom_profile.as_ref().unwrap();