feat: add Dioxus.toml
This commit is contained in:
1 parent
70adff7e44
commit
9bb10c65a3
13 files changed
+269
-170
No files matched your search
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user