-
Notifications
You must be signed in to change notification settings - Fork 10
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.10"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/supermodeltools/cli/releases/download/v0.6.10/supermodel_darwin_amd64.tar.gz"
sha256 "18ad8563677b1e0247135f4e25dbc8034f833b97af39f3df499d1d5e061e84f4"
define_method(:install) do
bin.install "supermodel"
end
end
if Hardware::CPU.arm?
url "https://github.com/supermodeltools/cli/releases/download/v0.6.10/supermodel_darwin_arm64.tar.gz"
sha256 "3b599baf65bbe83d5f932267fef28ff23f6ece56801b6ea9c9fcffe772fb4886"
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.10/supermodel_linux_amd64.tar.gz"
sha256 "285c10e7248c33bc1206e7b5df9b85ccc165cdb0ec90fb3f5559a712a7d27c6f"
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.10/supermodel_linux_arm64.tar.gz"
sha256 "e3dd3dbcfdd047a8bf5b02176b57b1e48d7bd62a08ba8d56f19c61f81d7c3b25"
define_method(:install) do
bin.install "supermodel"
end
end
end
test do
system "#{bin}/supermodel", "version"
end
end