forked from Homebrew/homebrew-core
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgel.rb
36 lines (30 loc) · 911 Bytes
/
gel.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
27
28
29
30
31
32
33
34
35
36
class Gel < Formula
desc "Modern gem manager"
homepage "https://gel.dev"
url "https://github.com/gel-rb/gel/archive/refs/tags/v0.3.0.tar.gz"
sha256 "fe7c4bd67a2ea857b85b754f5b4d336e26640eda7199bc99b9a1570043362551"
license "MIT"
revision 1
head "https://github.com/gel-rb/gel.git", branch: "main"
bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, all: "898572d813d48ead8bc112c19eab9964c5ba560062fe57e40f138840a35ee5da"
end
# https://github.com/gel-rb/gel/issues/134
deprecate! date: "2024-12-25", because: :unmaintained
depends_on "ronn" => :build
uses_from_macos "ruby"
def install
system "rake", "man"
bin.install "exe/gel"
prefix.install "lib"
man1.install Pathname.glob("man/man1/*.1")
end
test do
(testpath/"Gemfile").write <<~EOS
source "https://rubygems.org"
gem "gel"
EOS
system bin/"gel", "install"
end
end