-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathencode.rb
More file actions
45 lines (40 loc) · 1.5 KB
/
Copy pathencode.rb
File metadata and controls
45 lines (40 loc) · 1.5 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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Encode < Formula
desc ""
homepage "https://github.com/lehigh-university-libraries/encode"
version "0.4.3"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/lehigh-university-libraries/encode/releases/download/0.4.3/encode_Darwin_x86_64.tar.gz"
sha256 "901893a531807433ee076131e85d89453fba845f77f6cd0abe9cadca238f26a1"
define_method(:install) do
bin.install "encode"
end
end
if Hardware::CPU.arm?
url "https://github.com/lehigh-university-libraries/encode/releases/download/0.4.3/encode_Darwin_arm64.tar.gz"
sha256 "6cafb752b6b3e814a1f0f8f6c46db14f1d55b254b74a5624014ca8b98a4120a6"
define_method(:install) do
bin.install "encode"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/lehigh-university-libraries/encode/releases/download/0.4.3/encode_Linux_x86_64.tar.gz"
sha256 "c8cd2b6df5196a9c2773bae47b908c7b12281bf29596957b0b5effb8af76e5fd"
define_method(:install) do
bin.install "encode"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/lehigh-university-libraries/encode/releases/download/0.4.3/encode_Linux_arm64.tar.gz"
sha256 "9cd3e20e8e026354458d88398f152895b4b03e39e7ef3b74e5c83ef7dc4f1a3a"
define_method(:install) do
bin.install "encode"
end
end
end
end