aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/coffee-script.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-09 09:13:58 -0700
committerAdam Vandenberg2010-08-09 09:13:58 -0700
commitb882b3fa2191ab0b2a50eabd98a96f7656de49d4 (patch)
tree57ca55240b27128cc2c77b984af459480877ed0c /Library/Formula/coffee-script.rb
parentb8694385fbb538f3615fab7be6fc20f0633c1973 (diff)
downloadhomebrew-b882b3fa2191ab0b2a50eabd98a96f7656de49d4.tar.bz2
coffee-script - recommend installing via npm
Diffstat (limited to 'Library/Formula/coffee-script.rb')
-rw-r--r--Library/Formula/coffee-script.rb13
1 files changed, 6 insertions, 7 deletions
diff --git a/Library/Formula/coffee-script.rb b/Library/Formula/coffee-script.rb
index 7f8d3cb0f..26ddbb566 100644
--- a/Library/Formula/coffee-script.rb
+++ b/Library/Formula/coffee-script.rb
@@ -11,14 +11,13 @@ class CoffeeScript <Formula
# the depends_on
depends_on 'node' unless ARGV.build_head?
- def caveats
- <<-EOS.undent
- Coffee is a continually evolving language and as such uses new features of
- Node.js as they are added. To take advantage of these features while using
- HEAD make sure to install the HEAD version of node and keep it updated.
+ def caveats; <<-EOS.undent
+ coffee-script can also be installed via `npm install coffee-script`.
+ This has the advantage of supporting multiple versions (of any Node libs)
+ at the same time. Since coffee-script syntax changed pretty drastically
+ between 0.7.2 and 0.9, you may want to install it via npm instead.
- brew uninstall node
- brew install node --HEAD
+ This formula may be retired from a future version of Homebrew.
EOS
end if ARGV.build_head?