get-cve 1.4.0

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

#[cfg(not(target_os = "windows"))]
fn main() {
    let target_dir = env::var("CARGO_TARGET_DIR").unwrap();
    Command::new("asciidoctor")
        .arg("-b")
        .arg("manpage")
        .arg("-o")
        .arg(format!("{}/docs/get-cve.1", target_dir))
        .arg("docs/get-cve.adoc")
        .output()
        .expect("asciidoctor failed");

    Command::new("gzip")
        .arg(format!("{}/docs/get-cve.1", target_dir))
        .output()
        .expect("Fail for gzip running");
}

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