From 00f5fa0527c5be3c0524b33c1a8abf2481b3459d Mon Sep 17 00:00:00 2001 From: Colin Jones Date: Wed, 26 May 2010 20:16:28 -0500 Subject: [PATCH] removing unused dependencies & adding script runners --- README.markdown | 18 ++++++++++++++---- project.clj | 8 ++------ run.bat | 1 + run.sh | 2 ++ 4 files changed, 19 insertions(+), 10 deletions(-) create mode 100755 run.bat create mode 100755 run.sh diff --git a/README.markdown b/README.markdown index b71b222..c6c852c 100644 --- a/README.markdown +++ b/README.markdown @@ -2,9 +2,15 @@ ### Getting Started -To download the dependencies, install leiningen -(http://github.com/technomancy/leiningen). After you have leiningen -installed run +The only things you need to run the Clojure Koans are: + +- JRE 1.5 or higher +- clojure-1.1.0.jar (available in the Downloads tab on the GitHub project) + +You can also use leiningen (http://github.com/technomancy/leiningen) to install +the clojure-1.1.0.jar. + +After you have leiningen installed run `lein deps` @@ -14,4 +20,8 @@ which will download all dependencies you need to run the clojure koans. To run the koans, simply run -lein run +`./run.sh` + +or, on Windows, + +`run.bat` diff --git a/project.clj b/project.clj index bc00fac..1cfdf52 100644 --- a/project.clj +++ b/project.clj @@ -1,10 +1,6 @@ (defproject functional-koans "0.0.1" :description "The functional koans" :main "path_to_enlightenment" - :dependencies [[org.clojure/clojure "1.1.0"] - [org.clojure/clojure-contrib "1.0-SNAPSHOT"] - [org.clojure/swank-clojure "1.0"] - [jline "0.9.94"]] - :dev-dependencies [[lein-clojars "0.5.0-SNAPSHOT"] - [leiningen-run "0.3"]] + :dependencies [[org.clojure/clojure "1.1.0"]] + :dev-dependencies [[leiningen-run "0.3"]] :namespaces [koans]) diff --git a/run.bat b/run.bat new file mode 100755 index 0000000..ea95fab --- /dev/null +++ b/run.bat @@ -0,0 +1 @@ +java -cp lib/clojure-1.1.0.jar;src clojure.main src/path_to_enlightenment.clj diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..bc0ad00 --- /dev/null +++ b/run.sh @@ -0,0 +1,2 @@ +java -cp lib/clojure-1.1.0.jar:src clojure.main src/path_to_enlightenment.clj +echo