-
Notifications
You must be signed in to change notification settings - Fork 0
/
pgstream.rb
52 lines (45 loc) · 1.49 KB
/
pgstream.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Pgstream < Formula
desc "PostgreSQL replication with DDL changes"
homepage "https://www.xata.io"
version "0.2.0"
license "Apache-2.0"
on_macos do
on_intel do
url "https://github.com/xataio/pgstream/releases/download/v0.2.0/pgstream.macos.amd64"
sha256 "401677fc84714a1c07c0f9be48631e80ab83ace6ca94fd39092b3f0f7f7fc11c"
def install
bin.install "pgstream.macos.amd64" => "pgstream"
end
end
on_arm do
url "https://github.com/xataio/pgstream/releases/download/v0.2.0/pgstream.macos.arm64"
sha256 "5382038c0ab6771458458201fceb395109ace0e147f452508758871aeaa6a24d"
def install
bin.install "pgstream.macos.arm64" => "pgstream"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/xataio/pgstream/releases/download/v0.2.0/pgstream.linux.amd64"
sha256 "3b0e295380bf96614219283e8377a8432d6766408f9e41b67d0122f949ae8789"
def install
bin.install "pgstream.linux.amd64" => "pgstream"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/xataio/pgstream/releases/download/v0.2.0/pgstream.linux.arm64"
sha256 "354addf25f1165288f7c00409e8f6dbb64e0b314070d11b4ec30280908212b0c"
def install
bin.install "pgstream.linux.arm64" => "pgstream"
end
end
end
end
end