2016-10-24 02:12:48 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate clap;
|
2016-11-03 22:04:39 +01:00
|
|
|
extern crate globset;
|
2016-10-13 23:59:46 +02:00
|
|
|
extern crate env_logger;
|
2016-10-24 02:12:48 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
2016-09-18 22:42:11 +02:00
|
|
|
extern crate notify;
|
2016-09-14 15:30:59 +02:00
|
|
|
|
2016-10-24 02:12:48 +02:00
|
|
|
#[cfg(unix)]
|
|
|
|
extern crate nix;
|
|
|
|
#[cfg(windows)]
|
|
|
|
extern crate winapi;
|
|
|
|
#[cfg(windows)]
|
|
|
|
extern crate kernel32;
|
2016-10-22 21:37:03 +02:00
|
|
|
|
2016-10-25 13:05:53 +02:00
|
|
|
#[cfg(test)]
|
|
|
|
extern crate mktemp;
|
|
|
|
|
2016-10-26 17:01:55 +02:00
|
|
|
mod cli;
|
2016-10-12 04:43:53 +02:00
|
|
|
mod gitignore;
|
2016-09-23 21:52:50 +02:00
|
|
|
mod notification_filter;
|
2016-10-26 17:01:55 +02:00
|
|
|
mod process;
|
2017-04-25 01:31:50 +02:00
|
|
|
mod run;
|
2016-12-15 02:19:58 +01:00
|
|
|
mod signal;
|
2016-10-20 20:27:11 +02:00
|
|
|
mod watcher;
|
2016-09-21 23:02:20 +02:00
|
|
|
|
2016-10-12 15:43:22 +02:00
|
|
|
fn main() {
|
2016-12-19 17:37:12 +01:00
|
|
|
let args = cli::get_args();
|
2017-04-25 01:31:50 +02:00
|
|
|
run::run(args);
|
2017-01-27 21:27:44 +01:00
|
|
|
}
|