aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/dart.rb
diff options
context:
space:
mode:
authorYehor Lvivski2013-11-02 13:25:16 +0200
committerAdam Vandenberg2013-11-02 07:24:49 -0700
commit6e7b999238e9f6b9357d45f4ff9834c34b277fae (patch)
treec8dac657d24e97e03e31136a25cf336502d1f01e /Library/Formula/dart.rb
parentba60ffb5835c1bf5f1b8946cb15c37f83ce108a8 (diff)
downloadhomebrew-6e7b999238e9f6b9357d45f4ff9834c34b277fae.tar.bz2
Dart caveat for IntelliJ
Closes #23889. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/dart.rb')
-rw-r--r--Library/Formula/dart.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/dart.rb b/Library/Formula/dart.rb
index 909e54471..c67f754b0 100644
--- a/Library/Formula/dart.rb
+++ b/Library/Formula/dart.rb
@@ -19,6 +19,12 @@ class Dart < Formula
bin.write_exec_script Dir["#{libexec}/bin/{pub,dart?*}"]
end
+ def caveats; <<-EOS.undent
+ To use with IntelliJ, set the Dart home to:
+ #{opt_prefix}/libexec
+ EOS
+ end
+
test do
(testpath/'sample.dart').write <<-EOS.undent
import 'dart:io';