mdbook_angular/angular/
mod.rs1mod builder;
2mod workspace;
3
4pub(crate) use builder::build;
5
6use workspace::AngularWorkspace;
7
8use crate::{Config, Result};
9
10#[cfg_attr(not(all(unix, feature = "background")), allow(unused_variables))]
18pub fn stop_background_process(config: &Config) -> Result<()> {
19 #[cfg(not(unix))]
20 {
21 log::warn!("The background option is not supported on windows");
22 Ok(())
23 }
24
25 #[cfg(not(feature = "background"))]
26 {
27 log::warn!("This build doesn't support the background option");
28 Ok(())
29 }
30
31 #[cfg(all(unix, feature = "background"))]
32 return builder::stop_background_process(config);
33}