get-mitre 0.1.5

Tools for CVE managing, exploring and collect some data about their weaknesses and classifications
#[cfg(not(target_os = "windows"))]
use std::process::Command;

#[cfg(not(target_os = "windows"))]
fn main() {
    let result = Command::new("asciidoctor")
        .arg("-b")
        .arg("manpage")
        .arg("-o")
        .arg("../../target/release/assets/get-mitre.1")
        .arg("docs/get-mitre.adoc")
        .output()
        .expect("asciidoctor failed");

    if result.status.success() {
        Command::new("gzip")
            .arg("../../target/release/assets/get-mitre.1")
            .output()
            .expect("Fail for gzip running");
    }
}

#[cfg(target_os = "windows")]
fn main() {}