Log
This commit is contained in:
parent
a47ee3c814
commit
be1f064c4d
|
@ -166,8 +166,6 @@ impl GeneralBuilder {
|
||||||
/// Sends a notification of a successful build.
|
/// Sends a notification of a successful build.
|
||||||
pub fn notify_success(&self) {
|
pub fn notify_success(&self) {
|
||||||
|
|
||||||
println!("{}", self.success.to_str().unwrap());
|
|
||||||
|
|
||||||
let _ = Notification::new()
|
let _ = Notification::new()
|
||||||
.appname("Mars")
|
.appname("Mars")
|
||||||
.summary("Success")
|
.summary("Success")
|
||||||
|
|
|
@ -39,7 +39,7 @@ fn main() {
|
||||||
})
|
})
|
||||||
.map_err(|e| eprintln!("server error: {}", e));
|
.map_err(|e| eprintln!("server error: {}", e));
|
||||||
|
|
||||||
println!("{}", format!("Server listening to {}", addr).bold().green());
|
println!("{}", format!("Mars server listening on {}...", addr).bold().green());
|
||||||
hyper::rt::run(server);
|
hyper::rt::run(server);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue