-
Notifications
You must be signed in to change notification settings - Fork 1
/
venvy.rb
48 lines (41 loc) · 1.47 KB
/
venvy.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Venvy < Formula
desc "A fast modular (see modules/) sh hook system bound to subcomamnds. Useful for bootstrapping and managing local development and CI environments."
homepage ""
version "0.3.0"
license "MIT"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/cloudsynth/venvy/releases/download/v0.3.0/venvy_0.3.0_Darwin_arm64.tar.gz"
sha256 "006b97aec9c62ae3aa4e4f68464161de3e4533b1263bb69943d13168b6cd61dd"
def install
bin.install "venvy"
end
end
if Hardware::CPU.intel?
url "https://github.com/cloudsynth/venvy/releases/download/v0.3.0/venvy_0.3.0_Darwin_x86_64.tar.gz"
sha256 "39277165f0b76275d974dfa60be141bc49d5697440ac0c4e46e954665accdbf5"
def install
bin.install "venvy"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/cloudsynth/venvy/releases/download/v0.3.0/venvy_0.3.0_Linux_arm64.tar.gz"
sha256 "872b21739b8d5b4dcde77983f353ca83b0ca7ce550d89e08d21f5de2cfc54816"
def install
bin.install "venvy"
end
end
if Hardware::CPU.intel?
url "https://github.com/cloudsynth/venvy/releases/download/v0.3.0/venvy_0.3.0_Linux_x86_64.tar.gz"
sha256 "75bf162f08c12fe6a4de399059326b07219195415c5c4463c10302004a3691dd"
def install
bin.install "venvy"
end
end
end
end