pub fn run(self) -> Result<()> {
        debug!("input = {:?}", self.input);
        let manifest = super::manifest(self.input.as_ref())?;
        debug!("target_directory = {:?}", manifest.target_directory);
        let target_wix = self.target_wix(&manifest.target_directory);
        debug!("target_wix = {:?}", target_wix);
        if target_wix.exists() {
            trace!("The 'target\\wix' folder exists");
            warn!("Removing the 'target\\wix' folder");
            fs::remove_dir_all(target_wix)?;
        } else {
            trace!("The 'target\\wix' folder does not exist");
            info!("Nothing to clean");
        }
        Ok(())
    }
/// Removes WiX Toolset-related output from the package's `target` folder.
///
/// This is similar to the `cargo clean` subcommand.
Removes WiX Toolset-related output from the package's `target` folder.
This is similar to the `cargo clean` subcommand.
Removes WiX Toolset - related output from the package ' s ` target ` folder . This is similar to the ` cargo clean ` subcommand .
pub fn run(self) -> Result<()> {
        debug!("input = {:?}", self.input);
        let manifest = super::manifest(self.input.as_ref())?;
        debug!("target_directory = {:?}", manifest.target_directory);
        let target_wix = self.target_wix(&manifest.target_directory);
        debug!("target_wix = {:?}", target_wix);
        if target_wix.exists() {
            trace!("The 'target\\wix' folder exists");
            warn!("Removing the 'target\\wix' folder");
            fs::remove_dir_all(target_wix)?;
        } else {
            trace!("The 'target\\wix' folder does not exist");
            info!("Nothing to clean");
        }
        Ok(())
    }
pub fn run ( self ) -> Result < ( ) > { debug ! ( " " self input ) ; let manifest = super :: manifest ( self . input . as_ref ( ) ) ? ; debug ! ( " " manifest target_directory ) ; let target_wix = self . target_wix ( & manifest . target_directory ) ; debug ! ( " " target_wix ) ; if target_wix . exists ( ) { trace ! ( " \\ " ) ; warn ! ( " \\ " ) ; fs :: remove_dir_all ( target_wix ) ? ; } else { trace ! ( " \\ " ) ; info ! ( " " ) ; } Ok ( ( ) ) }
Removes WiX Toolset-related output from the package's `target` folder.
Removes WiX Toolset - related output from the package ' s ` target ` folder .
self
self