forked from Homebrew/homebrew-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrystal-icr.rb
26 lines (22 loc) · 852 Bytes
/
crystal-icr.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
class CrystalIcr < Formula
desc "Interactive console for Crystal programming language"
homepage "https://github.com/crystal-community/icr"
url "https://github.com/crystal-community/icr/archive/v0.6.0.tar.gz"
sha256 "970d5ecbde6bb370c8178339db42e7812b7a2f3a5db3eec868cc18c19523c0ea"
revision 3
bottle do
sha256 "7cdbe58b126c174512c1b58d0c8182a6e04af9ac5a5375faa37f62386da4e360" => :mojave
sha256 "e55738972fe09c6f825f8722b188d5636d128823fafba4fbfde1901a5e59cd3b" => :high_sierra
sha256 "bafa1310e8ff7f816d8b579591020023523889206d38505a5d0fabda3ca33339" => :sierra
end
depends_on "crystal"
depends_on "libevent"
depends_on "libyaml"
depends_on "openssl"
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
assert_match "icr version #{version}", shell_output("#{bin}/icr -v")
end
end