feat: bin flag for serve and build

This commit is contained in:
Miles Murgaw committed 2023-07-14 20:06:54 -04:00
1 parent bfbca2653f
commit 41fd7a1040
7 files changed
+28 -13

No files matched your search

+1 -1
View File
@@ -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);