ex-cli 1.16.0

Command line tool to find, filter, sort and list files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate winresource;

fn main() {
    let target = std::env::var("CARGO_CFG_TARGET_OS").expect("CARGO_CFG_TARGET_OS");
    if target == "windows" {
        let desc = std::env::var("CARGO_PKG_DESCRIPTION").expect("CARGO_PKG_DESCRIPTION");
        let mut res = winresource::WindowsResource::new();
        res.set("FileDescription", &desc);
        res.set_windres_path("/usr/bin/x86_64-w64-mingw32-windres");
        res.compile().unwrap();
    }
}