-
Notifications
You must be signed in to change notification settings - Fork 0
/
railway.rb
47 lines (40 loc) · 1.39 KB
/
railway.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Railway < Formula
desc "Develop and deploy code with zero configuration"
homepage "https://railway.app"
version "2.1.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/railwayapp/cli/releases/download/v2.1.0/railway_2.1.0_darwin_arm64.tar.gz"
sha256 "3ebfd5dac92e49d2d2b52792c7536ebe49060f2a5d9c9c9bb44113e559fb209f"
def install
bin.install "railway"
end
end
if Hardware::CPU.intel?
url "https://github.com/railwayapp/cli/releases/download/v2.1.0/railway_2.1.0_darwin_amd64.tar.gz"
sha256 "b832c45fc5494be3db4093482c4b1ae3ad92001dd315782b94e18364f82377bf"
def install
bin.install "railway"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/railwayapp/cli/releases/download/v2.1.0/railway_2.1.0_linux_amd64.tar.gz"
sha256 "afe436e33157cedbe3b1c7d9935038e2b84b4fc29d0fccbb7a6b8672b71f85d9"
def install
bin.install "railway"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/railwayapp/cli/releases/download/v2.1.0/railway_2.1.0_linux_arm64.tar.gz"
sha256 "31b5d93fc3cc3514919b34d207ec5b95e34b3dd0a91b0394080c4059bf31f029"
def install
bin.install "railway"
end
end
end
end