feat: add Dioxus.toml

This commit is contained in:
mrxiaozhuox committed 2022-01-23 17:35:59 +08:00
1 parent 70adff7e44
commit 9bb10c65a3
13 files changed
+269 -170

No files matched your search

+1 -6
View File
@@ -1,5 +1,3 @@
use std::path::PathBuf;
use crate::cfg::ConfigOptsBuild;
use structopt::StructOpt;
@@ -18,10 +16,7 @@ impl Build {
// change the relase state.
crate_config.with_release(self.build.release);
crate::builder::build(
&crate_config,
self.build.dist.unwrap_or(PathBuf::from("dist")),
)?;
crate::builder::build(&crate_config)?;
Ok(())
}