mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 21:25:16 +00:00
Comment out roblox_studio mechanisms for now, start using env_logger
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#[macro_use] extern crate clap;
|
||||
#[macro_use] extern crate log;
|
||||
extern crate env_logger;
|
||||
|
||||
extern crate librojo;
|
||||
|
||||
@@ -8,6 +10,10 @@ use std::process;
|
||||
use librojo::pathext::canonicalish;
|
||||
|
||||
fn main() {
|
||||
env_logger::Builder::from_default_env()
|
||||
.default_format_timestamp(false)
|
||||
.init();
|
||||
|
||||
let matches = clap_app!(rojo =>
|
||||
(version: env!("CARGO_PKG_VERSION"))
|
||||
(author: env!("CARGO_PKG_AUTHORS"))
|
||||
@@ -45,8 +51,8 @@ fn main() {
|
||||
librojo::commands::serve(&project_path);
|
||||
},
|
||||
_ => {
|
||||
eprintln!("Please specify a subcommand!");
|
||||
eprintln!("Try 'rojo help' for information.");
|
||||
error!("Please specify a subcommand!");
|
||||
error!("Try 'rojo help' for information.");
|
||||
process::exit(1);
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user