pub fn run(self) -> Result<()> {
        debug!("input = {:?}", self.input);
        let mut cleaner = clean::Builder::new();
        cleaner.input(self.input.as_ref().and_then(|p| p.to_str()));
        cleaner.build().run()?;
        let wix = self.wix()?;
        debug!("wix = {:?}", wix);
        if wix.exists() {
            trace!("The 'wix' folder exists");
            warn!("Removing the 'wix' folder");
            fs::remove_dir_all(wix)?;
        } else {
            trace!("The 'wix' folder does not exist");
            info!("Nothing to purge");
        }
        Ok(())
    }
/// Removes all WiX Toolset-related files and folders, including files and
/// folders created with the `cargo wix` subcommand, from a package.
///
/// Use with caution! This cannot be undone.

Removes all WiX Toolset-related files and folders, including files and
folders created with the `cargo wix` subcommand, from a package.

Use with caution. This cannot be undone.
Removes all WiX Toolset - related files and folders including files and folders created with the ` cargo wix ` subcommand from a package . Use with caution . This cannot be undone .
pub fn run(self) -> Result<()> {
        debug!("input = {:?}", self.input);
        let mut cleaner = clean::Builder::new();
        cleaner.input(self.input.as_ref().and_then(|p| p.to_str()));
        cleaner.build().run()?;
        let wix = self.wix()?;
        debug!("wix = {:?}", wix);
        if wix.exists() {
            trace!("The 'wix' folder exists");
            warn!("Removing the 'wix' folder");
            fs::remove_dir_all(wix)?;
        } else {
            trace!("The 'wix' folder does not exist");
            info!("Nothing to purge");
        }
        Ok(())
    }
pub fn run ( self ) -> Result < ( ) > { debug ! ( " " self input ) ; let mut cleaner = clean :: Builder :: new ( ) ; cleaner . input ( self . input . as_ref ( ) . and_then ( | p | p . to_str ( ) ) ) ; cleaner . build ( ) . run ( ) ? ; let wix = self . wix ( ) ? ; debug ! ( " " wix ) ; if wix . exists ( ) { trace ! ( " " ) ; warn ! ( " " ) ; fs :: remove_dir_all ( wix ) ? ; } else { trace ! ( " " ) ; info ! ( " " ) ; } Ok ( ( ) ) }
Removes all WiX Toolset-related files and folders, including files and
folders created with the `cargo wix` subcommand, from a package.
Removes all WiX Toolset - related files and folders including files and folders created with the ` cargo wix ` subcommand from a package .
self
self