-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathftl.rb
71 lines (64 loc) · 2.22 KB
/
ftl.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Ftl < Formula
desc "FTL - Towards a 𝝺-calculus for large-scale systems"
homepage "https://github.com/block/ftl"
version "0.446.5"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/block/ftl/releases/download/v0.446.5/ftl-0.446.5.darwin-amd64.tar.gz"
sha256 "119b64884bafc261bd027d523b1d5c5ef0fc95c439ec05cea6c80948ee7fb09f"
def install
bin.install "ftl"
bin.install "ftl-language-go"
bin.install "ftl-language-java"
bin.install "ftl-language-kotlin"
bin.install "ftl-language-python"
bin.install "ftl-sqlc"
end
end
if Hardware::CPU.arm?
url "https://github.com/block/ftl/releases/download/v0.446.5/ftl-0.446.5.darwin-arm64.tar.gz"
sha256 "389c26ba655e69df9ecb6ab2dc751c8afaa05e7e9317716bc3b27fffad661be6"
def install
bin.install "ftl"
bin.install "ftl-language-go"
bin.install "ftl-language-java"
bin.install "ftl-language-kotlin"
bin.install "ftl-language-python"
bin.install "ftl-sqlc"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/block/ftl/releases/download/v0.446.5/ftl-0.446.5.linux-amd64.tar.gz"
sha256 "56290f5c34139b8d6ea03dfc2b81f1ba5546701f733d94fa86f74f80efadfa81"
def install
bin.install "ftl"
bin.install "ftl-language-go"
bin.install "ftl-language-java"
bin.install "ftl-language-kotlin"
bin.install "ftl-language-python"
bin.install "ftl-sqlc"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/block/ftl/releases/download/v0.446.5/ftl-0.446.5.linux-arm64.tar.gz"
sha256 "e121927d31a4f6e7897c76b574a01115bf3d335d05164cf5b4740a873049815a"
def install
bin.install "ftl"
bin.install "ftl-language-go"
bin.install "ftl-language-java"
bin.install "ftl-language-kotlin"
bin.install "ftl-language-python"
bin.install "ftl-sqlc"
end
end
end
end
end