-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsupermodel.rb
More file actions
50 lines (44 loc) · 1.58 KB
/
supermodel.rb
File metadata and controls
50 lines (44 loc) · 1.58 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Supermodel < Formula
desc "Give your AI coding agent a map of your codebase"
homepage "https://supermodeltools.com"
version "0.6.9"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/supermodeltools/cli/releases/download/v0.6.9/supermodel_darwin_amd64.tar.gz"
sha256 "624fdef69cf19f584ded76757f590e62377f0a66fc6c838b963dc492d5dacc61"
define_method(:install) do
bin.install "supermodel"
end
end
if Hardware::CPU.arm?
url "https://github.com/supermodeltools/cli/releases/download/v0.6.9/supermodel_darwin_arm64.tar.gz"
sha256 "a69c53c4769a8f2b3a09abba27b856f2bbb971c1b33aa11917de22bc5bb11ac3"
define_method(:install) do
bin.install "supermodel"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/supermodeltools/cli/releases/download/v0.6.9/supermodel_linux_amd64.tar.gz"
sha256 "540d4435decb21bf8689e561ebc2169cc2fbc9aac28f949a260953ebf7ee3ea3"
define_method(:install) do
bin.install "supermodel"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/supermodeltools/cli/releases/download/v0.6.9/supermodel_linux_arm64.tar.gz"
sha256 "22158442cb55f2e8c3039bde6f601b7105c770ea3482075c5d5bde9b5c682e44"
define_method(:install) do
bin.install "supermodel"
end
end
end
test do
system "#{bin}/supermodel", "version"
end
end