scalaenv: remove non-Homebrew-specific caveats.
Closes #9662. Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
parent
8294f32cd3
commit
806f8ead7c
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue