Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
ceylon 1.2.0
Browse files Browse the repository at this point in the history
Closes #45448.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
  • Loading branch information
gavinking authored and bfontaine committed Oct 29, 2015
1 parent 5d221a1 commit c30f4d6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Library/Formula/ceylon.rb
@@ -1,8 +1,8 @@
class Ceylon < Formula
desc "Programming language for writing large programs in teams"
homepage "http://ceylon-lang.org/"
url "http://ceylon-lang.org/download/dist/1_1_0"
sha256 "c08a900b13f42c38a38b403d620afd436cd18f2fe9a0942b626254bf4ad821c1"
url "http://ceylon-lang.org/download/dist/1_2_0"
sha256 "2e3b50e3e80ea3a356d0d62a2cff5b59104c591aa06387e55cd34a10d52c2919"

bottle :unneeded

Expand All @@ -15,16 +15,17 @@ def install
doc.install Dir["doc/*"]
libexec.install Dir["*"]

# Symlink shell scripts but not args.sh
bin.install_symlink Dir["#{libexec}/bin/ceylon*"]
# Symlink shell scripts but not *.plugin
bin.install_symlink "#{libexec}/bin/ceylon"
bin.install_symlink "#{libexec}/bin/ceylon-sh-setup"
end

test do
ENV["_JAVA_OPTIONS"] = "-Duser.home=#{testpath}"
cd "#{libexec}/samples/helloworld" do
system "#{bin}/ceylon", "compile", "--out", "#{testpath}/modules", "--encoding", "UTF-8", "com.example.helloworld"
system "#{bin}/ceylon", "doc", "--out", "#{testpath}/modules", "--encoding", "UTF-8", "--non-shared", "com.example.helloworld"
system "#{bin}/ceylon", "run", "--rep", "#{testpath}/modules", "com.example.helloworld/1.1.0", "John"
system "#{bin}/ceylon", "run", "--rep", "#{testpath}/modules", "com.example.helloworld/1.2.0", "John"
end
end
end

0 comments on commit c30f4d6

Please sign in to comment.