File: build.rs

package info (click to toggle)
rust-procs 0.14.11-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 972 kB
  • sloc: makefile: 53
file content (12 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
include!("src/opt.rs");

fn main() {
        let out_dir = PathBuf::from("debian/build_artifacts");
        if std::fs::create_dir_all(&out_dir).is_err() { return; }

        gen_completion(Shell::Bash, &out_dir).unwrap();
        gen_completion(Shell::Elvish, &out_dir).unwrap();
        gen_completion(Shell::Fish, &out_dir).unwrap();
        gen_completion(Shell::PowerShell, &out_dir).unwrap();
        gen_completion(Shell::Zsh, &out_dir).unwrap();
}