aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-25 17:52:54 -0700
committerAdam Vandenberg2012-03-25 17:52:54 -0700
commit0a7703dbd07465a1b517541da273a57e508580fd (patch)
tree4c8b68877b81415c851c1f1ca2256c21406d5947 /Library
parent3b0ad0ed7ce646bad1a16a5ea4c67aa8e622a112 (diff)
downloadhomebrew-0a7703dbd07465a1b517541da273a57e508580fd.tar.bz2
Remove CoffeeScript
npm is the preferred way to install CoffeeScript.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/coffee-script.rb43
1 files changed, 0 insertions, 43 deletions
diff --git a/Library/Formula/coffee-script.rb b/Library/Formula/coffee-script.rb
deleted file mode 100644
index 7889cae31..000000000
--- a/Library/Formula/coffee-script.rb
+++ /dev/null
@@ -1,43 +0,0 @@
-require 'formula'
-
-class NodeRequired < Requirement
- def message; <<-EOS.undent
- CoffeeScript rqeuires Node to be installed.
- You can install using Homebrew:
- brew install node
-
- If you are installing the --HEAD version of CoffeeScript,
- you may need the --HEAD version of node:
- brew install --HEAD node
- EOS
- end
- def satisfied?
- Formula.factory("node").installed? or which('node')
- end
- def fatal?
- true
- end
-end
-
-class CoffeeScript < Formula
- url 'http://github.com/jashkenas/coffee-script/tarball/1.2.0'
- head 'https://github.com/jashkenas/coffee-script.git'
- homepage 'http://jashkenas.github.com/coffee-script/'
- md5 '5dfc3ee21214f1b7e86c0535f5386a35'
-
- depends_on NodeRequired.new
-
- def install
- bin.mkpath
- system "./bin/cake", "--prefix", prefix, "install"
- end
-
- def caveats; <<-EOS.undent
- coffee-script can also be installed via npm with:
- npm install coffee-script
-
- This has the advantage of supporting multiple versions of Node libs
- at the same time.
- EOS
- end
-end