fix: dist setting
This commit is contained in:
1 parent
f80303c00b
commit
5395e7693c
9 files changed
+61
-26
No files matched your search
@@ -1,3 +1,5 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
use crate::cfg::ConfigOptsBuild;
|
||||
use structopt::StructOpt;
|
||||
|
||||
@@ -16,7 +18,10 @@ impl Build {
|
||||
// change the relase state.
|
||||
crate_config.with_release(self.build.release);
|
||||
|
||||
crate::builder::build(&crate_config)?;
|
||||
crate::builder::build(
|
||||
&crate_config,
|
||||
self.build.dist.unwrap_or(PathBuf::from("dist")),
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user