-
Notifications
You must be signed in to change notification settings - Fork 3
/
envplate.rb
47 lines (40 loc) · 1.47 KB
/
envplate.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Envplate < Formula
desc "Docker-friendly trivial templating for configuration files using environment keys."
homepage "https://github.com/kreuzwerker/envplate"
version "1.0.3"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/kreuzwerker/envplate/releases/download/v1.0.3/envplate_1.0.3_Darwin_arm64.tar.gz"
sha256 "6b56ee7ae7d618ae4dce3342432e80f9802ab6ec43d745f8b4e5897b99dae945"
def install
bin.install "envplate"
end
end
if Hardware::CPU.intel?
url "https://github.com/kreuzwerker/envplate/releases/download/v1.0.3/envplate_1.0.3_Darwin_x86_64.tar.gz"
sha256 "7ce8b6d32f8fbd6e72782152068c68e38bc68f47d1f1d616c8c6627f8c43d5e0"
def install
bin.install "envplate"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/kreuzwerker/envplate/releases/download/v1.0.3/envplate_1.0.3_Linux_x86_64.tar.gz"
sha256 "f03d729c1fa74e973f3b6db73f7d2da2bab0827068c83ac66582821c200e359b"
def install
bin.install "envplate"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/kreuzwerker/envplate/releases/download/v1.0.3/envplate_1.0.3_Linux_arm64.tar.gz"
sha256 "cd218fe4f28cf56872e0597b907d00b424d687a90eacc49b23ffe9619905d25d"
def install
bin.install "envplate"
end
end
end
end