mirror of https://github.com/dswd/vpncloud.git
Create outdir
This commit is contained in:
parent
3ef8753085
commit
1298ea5765
1
build.rs
1
build.rs
|
@ -9,6 +9,7 @@ fn main() {
|
||||||
|
|
||||||
// Process manpage using asciidoctor command
|
// Process manpage using asciidoctor command
|
||||||
println!("cargo:rerun-if-changed=vpncloud.adoc");
|
println!("cargo:rerun-if-changed=vpncloud.adoc");
|
||||||
|
fs::create_dir_all(&out_dir).unwrap();
|
||||||
fs::copy("vpncloud.adoc", Path::new(&out_dir).join("vpncloud.adoc")).unwrap();
|
fs::copy("vpncloud.adoc", Path::new(&out_dir).join("vpncloud.adoc")).unwrap();
|
||||||
match Command::new("asciidoctor")
|
match Command::new("asciidoctor")
|
||||||
.args(&["-b", "manpage", "vpncloud.adoc"])
|
.args(&["-b", "manpage", "vpncloud.adoc"])
|
||||||
|
|
Loading…
Reference in New Issue