Skip to content

Commit

Permalink
crystal-lang 0.25.0
Browse files Browse the repository at this point in the history
Closes #28930.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
felixbuenemann authored and ilovezfs committed Jun 15, 2018
1 parent 7f558c4 commit 1ac6740
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions Formula/crystal-lang.rb
@@ -1,15 +1,14 @@
class CrystalLang < Formula
desc "Fast and statically typed, compiled language with Ruby-like syntax"
homepage "https://crystal-lang.org/"
revision 1

stable do
url "https://github.com/crystal-lang/crystal/archive/0.24.2.tar.gz"
sha256 "de50a455a509f4f80025eb8773818859ad6664a79f5f0fafecdd87ff5ccef6d0"
url "https://github.com/crystal-lang/crystal/archive/0.25.0.tar.gz"
sha256 "78cc53289bd983598133f8b789d95e01fad0bc95b512d7ccf60e33e36710ddde"

resource "shards" do
url "https://github.com/crystal-lang/shards/archive/v0.7.2.tar.gz"
sha256 "97a3681e74d2fdcba0575f6906f4ba0aefc709a2eb672c7289c63176ff4f3be2"
url "https://github.com/crystal-lang/shards/archive/v0.8.0.tar.gz"
sha256 "7758bf3bf49cbb221456fc8a0fc1f78e4c9ef5e8b226615b03569b7e684f660b"
end
end

Expand Down Expand Up @@ -40,9 +39,15 @@ class CrystalLang < Formula
depends_on "libyaml" if build.with? "shards"

resource "boot" do
url "https://github.com/crystal-lang/crystal/releases/download/v0.24.1/crystal-0.24.1-2-darwin-x86_64.tar.gz"
version "0.24.1"
sha256 "2be256462f4388cd3bb14b1378ef94d668ab9d870944454e828b4145155428a0"
if MacOS.version <= :el_capitan # no clock_gettime
url "https://github.com/crystal-lang/crystal/releases/download/v0.24.1/crystal-0.24.1-2-darwin-x86_64.tar.gz"
version "0.24.1"
sha256 "2be256462f4388cd3bb14b1378ef94d668ab9d870944454e828b4145155428a0"
else
url "https://github.com/crystal-lang/crystal/releases/download/0.24.2/crystal-0.24.2-1-darwin-x86_64.tar.gz"
version "0.24.2"
sha256 "05028a6ac8507b27a6dd5153f218deb255778d63ab7b45588cef3d974b5ce8ef"
end
end

def install
Expand Down

0 comments on commit 1ac6740

Please sign in to comment.