diff options
| author | Jack Nagel | 2014-10-26 22:30:29 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-26 22:30:29 -0500 |
| commit | fd7ae6f15e0ca9d87fb2d13c4302443628d0b793 (patch) | |
| tree | ccfe4deb9f6729a408ba2ce2a32af350a1609935 /Library/Formula/ceylon.rb | |
| parent | 3a11b2888852ee0064caa884d3a256c80bb5f03e (diff) | |
| download | homebrew-fd7ae6f15e0ca9d87fb2d13c4302443628d0b793.tar.bz2 | |
ceylon: use Java 7 requirement
Diffstat (limited to 'Library/Formula/ceylon.rb')
| -rw-r--r-- | Library/Formula/ceylon.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/ceylon.rb b/Library/Formula/ceylon.rb index 43f4870a1..0c1a07601 100644 --- a/Library/Formula/ceylon.rb +++ b/Library/Formula/ceylon.rb @@ -5,6 +5,8 @@ class Ceylon < Formula url 'http://ceylon-lang.org/download/dist/1_1_0' sha1 '91d84e96f3a4468cc2e7de5a4003d5e945bd7c20' + depends_on :java => "1.7" + def install rm_f Dir["bin/*.bat"] @@ -16,10 +18,6 @@ class Ceylon < Formula bin.install_symlink Dir["#{libexec}/bin/ceylon*"] end - def caveats - "Ceylon requires Java 7." - end - test do cd "#{libexec}/samples/helloworld" do system "#{bin}/ceylon", "compile", "--encoding", "UTF-8", "com.example.helloworld" |
