This repository has been archived by the owner on May 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsubasa.rb
55 lines (47 loc) · 1.7 KB
/
tsubasa.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Tsubasa < Formula
desc "Tiny, and simple Elasticsearch microservice to abstract searching objects!"
homepage ""
version "0.3.2"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/auguwu/tsubasa/releases/download/v0.3.2/tsubasa_0.3.2_Darwin_x86_64.tar.gz"
sha256 "ba2f8089789292e81dc9cbb79aa3a6e2d902aab3426bc5d8aaf3b1a572d83278"
def install
bin.install "tsubasa"
end
end
if Hardware::CPU.arm?
url "https://github.com/auguwu/tsubasa/releases/download/v0.3.2/tsubasa_0.3.2_Darwin_arm64.tar.gz"
sha256 "a2d6a7c2c268308367b3cb05d86fa644807b5645ef430100f1912bae52ab3108"
def install
bin.install "tsubasa"
end
end
end
on_linux do
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/auguwu/tsubasa/releases/download/v0.3.2/tsubasa_0.3.2_linux_armv6.tar.gz"
sha256 "374fc4f284977dc44695772fc21805e8aa2c01504ce0249ace91847fe9f60930"
def install
bin.install "tsubasa"
end
end
if Hardware::CPU.intel?
url "https://github.com/auguwu/tsubasa/releases/download/v0.3.2/tsubasa_0.3.2_linux_x86_64.tar.gz"
sha256 "e022a864e53c30e1c3242e3a11642386fd0173b35749fd340fa282b6a49dd661"
def install
bin.install "tsubasa"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/auguwu/tsubasa/releases/download/v0.3.2/tsubasa_0.3.2_linux_arm64.tar.gz"
sha256 "a028284e81db991d4274a8f9bc265c2b34ed7b885fd0e5c0a6318a23bb8d4cef"
def install
bin.install "tsubasa"
end
end
end
end