File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ class Gitte < Formula
2+ desc "Developer environment orchestration tool"
3+ homepage "https://github.com/cego/gitte"
4+ version "2.0.0-rc.8"
5+ license "MIT"
6+
7+ on_macos do
8+ if Hardware ::CPU . arm?
9+ url "https://github.com/cego/gitte/releases/download/2.0.0-rc.8/gitte-darwin-arm64.tar.gz"
10+ sha256 "6e3c551d051a2bacfbc57632a898c853ec68e134fb4ed35066404d520e54bfc6"
11+ else
12+ url "https://github.com/cego/gitte/releases/download/2.0.0-rc.8/gitte-darwin-amd64.tar.gz"
13+ sha256 "100b062bfd41c65aee1667890b89d91e42df5d8546fa4d7054cf288661a633fc"
14+ end
15+ end
16+
17+ on_linux do
18+ if Hardware ::CPU . arm?
19+ url "https://github.com/cego/gitte/releases/download/2.0.0-rc.8/gitte-linux-arm64.tar.gz"
20+ sha256 "c592dbdb05c9128e41037ef38609d1982cb069762470c5607dc0cace67ed6432"
21+ else
22+ url "https://github.com/cego/gitte/releases/download/2.0.0-rc.8/gitte-linux-amd64.tar.gz"
23+ sha256 "8fd612a8f6ca2c47b42fb1059b1418b4e3523a10f34dc1aa88472273443db55d"
24+ end
25+ end
26+
27+ def install
28+ bin . install "gitte"
29+ end
30+
31+ test do
32+ system "#{ bin } /gitte" , "--version"
33+ end
34+ end
You can’t perform that action at this time.
0 commit comments