blob: 09a0e83f1bad871af09b72c2609675cf1879aded (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
extern crate ilc_cli;
use ilc_cli::Cli;
static MASTER_HASH: &'static str = include_str!("../.git/refs/heads/master");
fn main() {
ilc_cli::main(Cli {
version: env!("CARGO_PKG_VERSION").into(),
master_hash: if MASTER_HASH.is_empty() {
None
} else {
Some(MASTER_HASH.trim_right().to_owned())
},
});
}
|