watchexec/src/main.rs

34 lines
489 B
Rust
Raw Normal View History

#[macro_use]
extern crate clap;
extern crate globset;
2016-10-13 23:59:46 +02:00
extern crate env_logger;
#[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
#[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;
mod cli;
2016-10-12 04:43:53 +02:00
mod gitignore;
2016-09-23 21:52:50 +02:00
mod notification_filter;
mod process;
2017-04-25 01:31:50 +02:00
mod run;
2016-12-15 02:19:58 +01:00
mod signal;
mod watcher;
mod pathop;
2016-09-21 23:02:20 +02:00
2016-10-12 15:43:22 +02:00
fn main() {
let args = cli::get_args();
2017-04-25 01:31:50 +02:00
run::run(args);
}