scalaenv: remove non-Homebrew-specific caveats.

Closes #9662.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
Mike McQuaid 2017-02-05 12:40:55 +01:00 committed by Tomasz Pajor
parent 8294f32cd3
commit 806f8ead7c

View file

@ -28,15 +28,6 @@ class Scalaenv < Formula
(var_lib/"plugins").install_symlink "#{prefix}/default-plugins/scala-install"
end
def caveats; <<-EOS.undent
To use Homebrew's directories rather than ~/.scalaenv add to your profile:
export SCALAENV_ROOT=#{var}/scalaenv
To enable shims and autocompletion add to your profile:
eval "$(scalaenv init -)"
EOS
end
test do
shell_output("eval \"$(#{bin}/scalaenv init -)\" && scalaenv versions")
end