-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspecter.rb
More file actions
50 lines (44 loc) · 1.57 KB
/
specter.rb
File metadata and controls
50 lines (44 loc) · 1.57 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 Specter < Formula
desc "Deploy AI agents to dedicated VMs in 90 seconds"
homepage "https://specter.tools"
version "0.1.0"
license "Apache-2.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/ghostwright/specter/releases/download/v0.1.0/specter_0.1.0_darwin_amd64.tar.gz"
sha256 "5c52514d914e5bb7070022dfddd2ffceedcd0470b9614d3917e3bca346db0910"
define_method(:install) do
bin.install "specter"
end
end
if Hardware::CPU.arm?
url "https://github.com/ghostwright/specter/releases/download/v0.1.0/specter_0.1.0_darwin_arm64.tar.gz"
sha256 "f398ba11afad26b6d888cf4b93100192ecca868cf513d0efc0dbfd6f056d4194"
define_method(:install) do
bin.install "specter"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/ghostwright/specter/releases/download/v0.1.0/specter_0.1.0_linux_amd64.tar.gz"
sha256 "a1a43139efdf176ca83a98ca4e700be7a95c6db91c12f5e38c204b32dca099ef"
define_method(:install) do
bin.install "specter"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/ghostwright/specter/releases/download/v0.1.0/specter_0.1.0_linux_arm64.tar.gz"
sha256 "9a61418914017933f87976947ff269119cbcaf9287038bbb28dc898d76c7a7fe"
define_method(:install) do
bin.install "specter"
end
end
end
test do
system "#{bin}/specter", "version"
end
end