From 806f8ead7cf69604098e244dc450e76fc4506e46 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 5 Feb 2017 12:40:55 +0100 Subject: [PATCH] scalaenv: remove non-Homebrew-specific caveats. Closes #9662. Signed-off-by: Tomasz Pajor --- Formula/scalaenv.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Formula/scalaenv.rb b/Formula/scalaenv.rb index d4516535b0..8df4b7602a 100644 --- a/Formula/scalaenv.rb +++ b/Formula/scalaenv.rb @@ -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