aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorTill Höppner2016-03-09 16:59:15 +0100
committerTill Höppner2016-03-09 17:01:04 +0100
commiteca90a051b4daebe12a8421c6c4f57d5b5b9fbbd (patch)
tree4af753d758b1349b105d4b79dc2ac740cff28581 /src/main.rs
parente15f184edc228b991ee87ca39a6a177e6938d9c6 (diff)
downloadilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.gz
ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.xz
ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.zip
Allow ARM failure
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 3371a9f..0cdab68 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,5 +1,12 @@
extern crate ilc_cli;
+use ilc_cli::Cli;
+
+static MASTER: &'static str = include_str!("../.git/refs/heads/master");
+
fn main() {
- ilc_cli::main();
+ ilc_cli::main(Cli {
+ version: env!("CARGO_PKG_VERSION").into(),
+ master_hash: MASTER.trim_right().into(),
+ });
}