removing unused dependencies & adding script runners

This commit is contained in:
Colin Jones 2010-05-26 20:16:28 -05:00
parent 88544175c0
commit 00f5fa0527
4 changed files with 19 additions and 10 deletions

View File

@ -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`

View File

@ -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])

1
run.bat Executable file
View File

@ -0,0 +1 @@
java -cp lib/clojure-1.1.0.jar;src clojure.main src/path_to_enlightenment.clj

2
run.sh Executable file
View File

@ -0,0 +1,2 @@
java -cp lib/clojure-1.1.0.jar:src clojure.main src/path_to_enlightenment.clj
echo