diff --git a/nym-client/src/main.rs b/nym-client/src/main.rs index debc6ca7d2..b69fa95213 100644 --- a/nym-client/src/main.rs +++ b/nym-client/src/main.rs @@ -10,6 +10,10 @@ mod commands; mod persistence; mod sockets; pub mod utils; +pub mod built_info { + // The file has been placed there by the build script. + include!(concat!(env!("OUT_DIR"), "/built.rs")); +} fn main() { env_logger::init(); @@ -88,11 +92,6 @@ fn main() { } } -pub mod built_info { - // The file has been placed there by the build script. - include!(concat!(env!("OUT_DIR"), "/built.rs")); -} - fn execute(matches: ArgMatches) -> Result<(), String> { match matches.subcommand() { ("init", Some(m)) => Ok(commands::init::execute(m)),