Skip to content

Commit

Permalink
Merge pull request #7 from francesco-dipi/master
Browse files Browse the repository at this point in the history
Add Clojure ascii logo
  • Loading branch information
o2sh authored Oct 4, 2018
2 parents 440e4a9 + 9076cb0 commit 310e0b0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
24 changes: 24 additions & 0 deletions resources/clojure.ascii
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
`.-:///+////:-.`
.:/ooooooooooooooooo+/-`
`:+oooooooooooooooooooooooo+:`
./oooooooooooooooooooooooooooooo/`
.-.` `.-/+/:-....-:/+ooooooooooo:
`.....`` `-/ooooooooo+`
.:/+ooo: `` -:::::::-.` `/oooooooo+`
-+ooooo+` `://:` -:::::::::- .+ooooooo+`
`+oooooo+ .//////. -::::::::::` `+ooooooo:
+ooooooo` `////////. `:::::::::::` .oooooooo`
-ooooooo/ :////////: .::::::::::- +ooooooo.
:ooooooo: /////////` ::::::::::- +ooooooo-
-ooooooo/ :///////` :. `:::::::::- oooooooo.
`oooooooo. `/////:` -/: .::::::::` -ooooooo+
/ooooooo+` .:///` .///- .::::::` `ooooooo/`
`+ooooooo+. `-/. :////. `:::. -oooooo/.
.ooooooooo/` `//////- ` .:::--.
`+ooooooooo/-` ``....` `
:ooooooooooo+/:-----::/ooo+//////++-
`:oooooooooooooooooooooooooooooo:`
`-+oooooooooooooooooooooooo/-
`-/+oooooooooooooooo+:-`
`.--::////::-.`
````
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ enum Language {
Python,
Csharp,
Scala,
Clojure,
Shell,
Lisp,
Haskell,
Expand All @@ -65,6 +66,7 @@ fn get_color(l : &Language) -> &str {
Language::Python => "magenta",
Language::Csharp => "white",
Language::Scala => "blue",
Language::Clojure => "cyan",
Language::Shell => "green",
Language::Lisp => "yellow",
Language::Haskell => "cyan",
Expand All @@ -84,6 +86,7 @@ impl fmt::Display for Language {
Language::Python => write!(f, "Python"),
Language::Csharp => write!(f, "C#"),
Language::Scala => write!(f, "Scala"),
Language::Clojure => write!(f, "Clojure"),
Language::Shell => write!(f, "Shell"),
Language::Lisp => write!(f, "Lisp"),
Language::Haskell => write!(f, "Haskell"),
Expand Down Expand Up @@ -119,6 +122,7 @@ impl Info {
Language::Python => include_str!("../resources/python.ascii"),
Language::Csharp => include_str!("../resources/csharp.ascii"),
Language::Scala => include_str!("../resources/scala.ascii"),
Language::Clojure => include_str!("../resources/clojure.ascii"),
Language::Shell => include_str!("../resources/shell.ascii"),
Language::Lisp => include_str!("../resources/lisp.ascii"),
Language::Haskell => include_str!("../resources/haskell.ascii"),
Expand Down

0 comments on commit 310e0b0

Please sign in to comment.