-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Your tutorial "Setting Up Clojure for Mac OS X Leopard" is very helpful.
You might want to update the clj shell script for Clojure 1.3.0.
$ clj
WARNING: clojure.lang.Repl is deprecated.
Instead, use clojure.main like this:
java -cp clojure.jar clojure.main -i init.clj -r args...
Clojure 1.3.0-master-SNAPSHOT
user=>
$ clj hello.clj
WARNING: clojure.lang.Script is deprecated.
Instead, use clojure.main like this:
java -cp clojure.jar clojure.main -i init.clj script.clj args...
This gets rid of the warnings:
if [ -z "$1" ]; then
$JAVA -server -cp $CP \
jline.ConsoleRunner clojure.main --repl
else
scriptname=$1
$JAVA -cp $CP clojure.main $scriptname -- $*
fi
Metadata
Metadata
Assignees
Labels
No labels