Initial commit.
7 files changed, 70 insertions(+), 0 deletions(-)
A .gitignore
@@ -0,0 +1,9 @@ +/target +/classes +/checkouts +pom.xml +pom.xml.asc +*.jar +*.class +/.lein-* +/.nrepl-port
A LICENSE
@@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Alan Pearce + +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.
A README.md
@@ -0,0 +1,18 @@ +# microformats + +A Clojure library designed to parse [microformats](http://microformats.org/wiki/microformats2). + +## Feedback + +This is my first foray into Clojure, if I've done something +non-idiomatically please get in touch. + +## Usage + +FIXME + +## License + +Copyright © 2014 Alan Pearce + +Distributed under the MIT License.
A doc/intro.md
@@ -0,0 +1,3 @@ +# Introduction to microformats + +TODO: write [great documentation](http://jacobian.org/writing/what-to-write/)
A project.clj
@@ -0,0 +1,6 @@ +(defproject microformats "0.1.0-SNAPSHOT" + :description "HTML microformats parser" + :url "https://github.com/alanpearce/microformats" + :license {:name "MIT License" + :url "http://opensource.org/licenses/MIT"} + :dependencies [[org.clojure/clojure "1.6.0"]])
A src/microformats/core.clj
@@ -0,0 +1,6 @@ +(ns microformats.core) + +(defn foo + "I don't do a whole lot." + [x] + (println x "Hello, World!"))
A test/microformats/core_test.clj
@@ -0,0 +1,7 @@ +(ns microformats.core-test + (:require [clojure.test :refer :all] + [microformats.core :refer :all])) + +(deftest a-test + (testing "FIXME, I fail." + (is (= 0 1))))