add a fancy ascii header

This commit is contained in:
olivia 2018-11-14 20:04:48 +01:00
parent 2216b3a3ab
commit 6cc16edff0

View File

@ -17,6 +17,13 @@ fn main() {
.subcommand(SubCommand::with_name("verify").alias("v")) .subcommand(SubCommand::with_name("verify").alias("v"))
.get_matches(); .get_matches();
println!(r#" _ _ _ "#);
println!(r#" _ __ _ _ ___| |_| (_)_ __ __ _ ___ "#);
println!(r#" | '__| | | / __| __| | | '_ \ / _` / __| "#);
println!(r#" | | | |_| \__ \ |_| | | | | | (_| \__ \ "#);
println!(r#" |_| \__,_|___/\__|_|_|_| |_|\__, |___/ "#);
println!(r#" |___/ "#);
if let Some(_) = matches.subcommand_matches("verify") { if let Some(_) = matches.subcommand_matches("verify") {
compile_only("exercises/ex1.rs"); compile_only("exercises/ex1.rs");
compile_only("exercises/ex2.rs"); compile_only("exercises/ex2.rs");