From 7ee1aa478a84ed0d16cbca3c045aee144f6165d0 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 29 Mar 2014 12:54:03 -0400 Subject: [PATCH] initial commit --- .gitignore | 17 +++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 12 ++++++++++++ project.clj | 6 ++++++ src/clj_figlet/core.clj | 6 ++++++ test/clj_figlet/core_test.clj | 7 +++++++ 6 files changed, 69 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 project.clj create mode 100644 src/clj_figlet/core.clj create mode 100644 test/clj_figlet/core_test.clj diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..79a263d --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +.DS_Store +/target +/classes +/checkouts +pom.xml +pom.xml.asc +*.jar +*.class +/.lein-* +/.nrepl-port +/*.project +/*.classpath +/.settings/ +*.iml +*.ipr +*.iws +/.idea/ \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8d9476f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Gered King + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..68f3828 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# clj-figlet + +A Clojure library to generate text banners in an 'ASCII Art' style using FIGlet fonts, similar to other +[FIGlet programs](http://www.figlet.org/). + +## Usage + +FIXME + +## License + +Distributed under the the MIT License. See LICENSE for more details. diff --git a/project.clj b/project.clj new file mode 100644 index 0000000..0c12039 --- /dev/null +++ b/project.clj @@ -0,0 +1,6 @@ +(defproject clj-figlet "0.1.0-SNAPSHOT" + :description "Library to generate text banners in an 'ASCII Art' style using FIGlet fonts." + :url "https://github.com/gered/clj-figlet" + :license {:name "MIT License" + :url "http://opensource.org/licenses/MIT"} + :dependencies [[org.clojure/clojure "1.5.1"]]) diff --git a/src/clj_figlet/core.clj b/src/clj_figlet/core.clj new file mode 100644 index 0000000..d52ac60 --- /dev/null +++ b/src/clj_figlet/core.clj @@ -0,0 +1,6 @@ +(ns clj-figlet.core) + +(defn foo + "I don't do a whole lot." + [x] + (println x "Hello, World!")) diff --git a/test/clj_figlet/core_test.clj b/test/clj_figlet/core_test.clj new file mode 100644 index 0000000..0e828f3 --- /dev/null +++ b/test/clj_figlet/core_test.clj @@ -0,0 +1,7 @@ +(ns clj-figlet.core-test + (:require [clojure.test :refer :all] + [clj-figlet.core :refer :all])) + +(deftest a-test + (testing "FIXME, I fail." + (is (= 0 1))))