-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsitectl-drupal.rb
More file actions
47 lines (41 loc) · 1.55 KB
/
sitectl-drupal.rb
File metadata and controls
47 lines (41 loc) · 1.55 KB
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 SitectlDrupal < Formula
desc ""
homepage "https://github.com/libops/sitectl-drupal"
version "0.4.2"
depends_on "libops/homebrew/sitectl"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/libops/sitectl-drupal/releases/download/v0.4.2/sitectl-drupal_Darwin_x86_64.tar.gz"
sha256 "260990d8e5b839b4307074b0a62487a68797b85d01e893c0d6372bf4194062e9"
define_method(:install) do
bin.install "sitectl-drupal"
end
end
if Hardware::CPU.arm?
url "https://github.com/libops/sitectl-drupal/releases/download/v0.4.2/sitectl-drupal_Darwin_arm64.tar.gz"
sha256 "03e0caadad3d370a4954cd0ff084eee7081c40f121d1a106bebef3eeb8847933"
define_method(:install) do
bin.install "sitectl-drupal"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/libops/sitectl-drupal/releases/download/v0.4.2/sitectl-drupal_Linux_x86_64.tar.gz"
sha256 "997f98ad90ae4cd89d1a2d6ba64bd33a8460147cf8857c7f9e2df89aacd12abe"
define_method(:install) do
bin.install "sitectl-drupal"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/libops/sitectl-drupal/releases/download/v0.4.2/sitectl-drupal_Linux_arm64.tar.gz"
sha256 "885990c7dec34600a6da4e0cce74b1e4e2ce718444776f899dd2acfb1295d0dc"
define_method(:install) do
bin.install "sitectl-drupal"
end
end
end
end