-
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.433.2"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/block/ftl/releases/download/v0.433.2/ftl-0.433.2.darwin-amd64.tar.gz"
sha256 "c44d9a5b8b318c7af11f26b020db8b35afdfe7f6d240e80cbc4f4f127cde32ce"
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.433.2/ftl-0.433.2.darwin-arm64.tar.gz"
sha256 "4bf57acd5c80ca704f4a70f59363dfd00b03ee67404094a4da2051b5d7982488"
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.433.2/ftl-0.433.2.linux-amd64.tar.gz"
sha256 "d0ffa3a6fe87c44be1db8829edb0ee621ff1e03bd913356d77fbe29324ec827f"
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.433.2/ftl-0.433.2.linux-arm64.tar.gz"
sha256 "af90388ee3bd5612f64d5e59102e62e2ca6d732b84eb23b8a65ac835acce3ab5"
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