feat: bin flag for serve and build
This commit is contained in:
1 parent
bfbca2653f
commit
41fd7a1040
7 files changed
+28
-13
No files matched your search
@@ -13,7 +13,7 @@ pub struct Build {
|
||||
|
||||
impl Build {
|
||||
pub fn build(self) -> Result<()> {
|
||||
let mut crate_config = crate::CrateConfig::new()?;
|
||||
let mut crate_config = crate::CrateConfig::new(self.build.bin)?;
|
||||
|
||||
// change the release state.
|
||||
crate_config.with_release(self.build.release);
|
||||
|
||||
Reference in new issue
Block a user