From e4bf4536a07ffbf785e9255d36c42ee5e07216d0 Mon Sep 17 00:00:00 2001 From: David Sosby Date: Mon, 2 Apr 2012 21:34:31 -0500 Subject: [PATCH] Init commit --- .gitignore | 10 ++++++++++ README.md | 13 +++++++++++++ project.clj | 8 ++++++++ src/helloapp/core.clj | 6 ++++++ test/helloapp/core_test.clj | 7 +++++++ 5 files changed, 44 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 project.clj create mode 100644 src/helloapp/core.clj create mode 100644 test/helloapp/core_test.clj diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ee508f7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +/target +/lib +/classes +/checkouts +pom.xml +*.jar +*.class +.lein-deps-sum +.lein-failures +.lein-plugins diff --git a/README.md b/README.md new file mode 100644 index 0000000..f3b0176 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# helloapp + +I'm an app. + +## Usage + +lein exec package + +## License + +Copyright © 2012 David Sosby + +Distributed under the Eclipse Public License, the same as Clojure. diff --git a/project.clj b/project.clj new file mode 100644 index 0000000..346245b --- /dev/null +++ b/project.clj @@ -0,0 +1,8 @@ +(defproject helloapp "0.1.0-SNAPSHOT" + :description "A HelloWorld app written in ClojureScript for BlackBerry" + :url "" + :license {:name "Eclipse Public License" + :url "http://www.eclipse.org/legal/epl-v10.html"} + :dependencies [[org.clojure/clojure "1.3.0"]] + :plugin [[lein-cljsbuild "0.1.5"] + [lein-exec "0.1"]]) diff --git a/src/helloapp/core.clj b/src/helloapp/core.clj new file mode 100644 index 0000000..40a623b --- /dev/null +++ b/src/helloapp/core.clj @@ -0,0 +1,6 @@ +(ns helloapp.core) + +(defn -main + "I don't do a whole lot." + [& args] + (println "Hello, World!")) diff --git a/test/helloapp/core_test.clj b/test/helloapp/core_test.clj new file mode 100644 index 0000000..7c8955e --- /dev/null +++ b/test/helloapp/core_test.clj @@ -0,0 +1,7 @@ +(ns helloapp.core-test + (:use clojure.test + helloapp.core)) + +(deftest a-test + (testing "FIXME, I fail." + (is (= 0 1)))) \ No newline at end of file