diff options
| author | Adam Vandenberg | 2010-11-07 11:34:01 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-07 11:34:01 -0800 |
| commit | c786329d22b7d6a4a9df49986632d8a7992e8714 (patch) | |
| tree | 755fecdab9f572f3769349eec932d3dfbc562e81 /Library/Formula | |
| parent | c6ffa7dc4c291e91293955369590e80f39cc595f (diff) | |
| download | homebrew-c786329d22b7d6a4a9df49986632d8a7992e8714.tar.bz2 | |
coffee-script 0.9.4
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/coffee-script.rb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Library/Formula/coffee-script.rb b/Library/Formula/coffee-script.rb index c5b4f5aee..b4eec1f0c 100644 --- a/Library/Formula/coffee-script.rb +++ b/Library/Formula/coffee-script.rb @@ -1,28 +1,30 @@ require 'formula' class CoffeeScript <Formula - url 'http://github.com/jashkenas/coffee-script/tarball/0.9.2' + url 'https://github.com/jashkenas/coffee-script/tarball/0.9.4' head 'git://github.com/jashkenas/coffee-script.git' homepage 'http://jashkenas.github.com/coffee-script/' - md5 '640ca996fb9e8c2f09022b5787c0d3fc' + md5 'f347530b270ec57688d5e614be90cfb9' # head coffee-script usually depends on head node and # since there isn't a way to specify that just remove # the depends_on depends_on 'node' unless ARGV.build_head? + def install + bin.mkpath + system "./bin/cake", "--prefix", prefix, "install" + end + 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. + at the same time. + + Since coffee-script syntax changed pretty drastically between 0.7.2 and + 0.9.x, you may want to install it via npm instead. This formula may be retired from a future version of Homebrew. EOS - end if ARGV.build_head? - - def install - bin.mkpath - system "./bin/cake", "--prefix", prefix, "install" end end |
