aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-04-09 07:42:51 -0700
committerAdam Vandenberg2014-04-09 07:43:05 -0700
commit9cf55df1936ec416da69bdd3918bd07bd786b8d4 (patch)
treecc575ba2f788b534f2264a3c26318c6ad4cd81e8 /Library/Formula
parent3439c12629ad1bec70a71540a5d451c346f9194d (diff)
downloadhomebrew-9cf55df1936ec416da69bdd3918bd07bd786b8d4.tar.bz2
Revert "closure-compiler: requires Java 7"
This reverts commit 8bca3b24ea4256444fadc78f67d3a7eb9ad3b63d.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/closure-compiler.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Formula/closure-compiler.rb b/Library/Formula/closure-compiler.rb
index ba597669f..1bbe9d02c 100644
--- a/Library/Formula/closure-compiler.rb
+++ b/Library/Formula/closure-compiler.rb
@@ -1,17 +1,5 @@
require 'formula'
-class Java7 < Requirement
- fatal true
-
- def satisfied?
- `java -version`.split("\n")[0] =~ /"1\.7/
- end
-
- def message
- "Java 7 is required."
- end
-end
-
class ClosureCompiler < Formula
homepage 'http://code.google.com/p/closure-compiler/'
url 'https://code.google.com/p/closure-compiler/', :using => :git, :tag => 'v20140303'
@@ -19,7 +7,6 @@ class ClosureCompiler < Formula
head 'https://code.google.com/p/closure-compiler/', :using => :git
depends_on :ant
- depends_on Java7
def install
system "ant", "clean"