Add a warning for the lein repl task.
This commit is contained in:
parent
62dfb7e029
commit
3130064c8a
1 changed files with 5 additions and 0 deletions
5
bin/lein
5
bin/lein
|
@ -59,6 +59,11 @@ for ARG in "$@"; do
|
|||
done
|
||||
|
||||
if [ "$1" = "repl" ]; then
|
||||
echo "Warning: the repl task currently doesn't honor some project.clj"
|
||||
echo "options due to I/O stream issues. Future versions will address"
|
||||
echo "this, but for now you will get more consistent behaviour from repls"
|
||||
echo "launched by either the lein-swank plugin or the lein-nailgun plugin."
|
||||
echo
|
||||
$RLWRAP java -client $JAVA_OPTS -cp "src/:classes/:$CLASSPATH" jline.ConsoleRunner clojure.main ${@:2}
|
||||
elif [ "$1" = "self-install" ]; then
|
||||
if [[ $VERSION == *SNAPSHOT ]]; then
|
||||
|
|
Loading…
Reference in a new issue