Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilmari Vacklin committed May 20, 2012
0 parents commit a927e69
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/target
/lib
/classes
/checkouts
pom.xml
*.jar
*.class
.lein-deps-sum
.lein-failures
.lein-plugins
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# i-am-a-horse-in-the-land-of-booleans

I'm an app. Or maybe I'm a library? I haven't decided yet.

The choice is up to you!

## Usage

FIXME

## License

Copyright © 2012 FIXME

Distributed under the Eclipse Public License, the same as Clojure.
7 changes: 7 additions & 0 deletions project.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(defproject i-am-a-horse-in-the-land-of-booleans "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.4.0"]
[midje "1.4.0"]]
:profiles {:dev
{:dependencies
[[midje "1.4.0"]
[com.stuartsierra/lazytest "1.2.3"]]}})
10 changes: 10 additions & 0 deletions src/i_am_a_horse_in_the_land_of_booleans.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
(ns i-am-a-horse-in-the-land-of-booleans)

(defn fizzbuzz [n]
":(")

(defn abs [x]
":(")


; '_______'
12 changes: 12 additions & 0 deletions test/i_am_a_horse_in_the_land_of_booleans_test.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(ns i-am-a-horse-in-the-land-of-booleans-test
(:use [i-am-a-horse-in-the-land-of-booleans-test
midje.sweet]))

(facts "abs"
(abs -2) => 2
(abs 42) => 42)

(facts "fizzbuzz"
(fizzbuzz 45) => "gotcha!"
(fizzbuzz 48) => "fizz"
(fizzbuzz 70) => "buzz")

0 comments on commit a927e69

Please sign in to comment.