Skip to content

Commit

Permalink
scalaenv: remove non-Homebrew-specific caveats.
Browse files Browse the repository at this point in the history
Closes #9662.

Signed-off-by: Tomasz Pajor <[email protected]>
  • Loading branch information
MikeMcQuaid authored and nijikon committed Feb 6, 2017
1 parent 8294f32 commit 806f8ea
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Formula/scalaenv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ def post_install
(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
Expand Down

0 comments on commit 806f8ea

Please sign in to comment.