|
1 | 1 | class Stencil < Formula
|
2 |
| - desc "Smart templating engine for service development" |
3 |
| - homepage "https://engineering.outreach.io/stencil/" |
4 |
| - url "https://github.com/getoutreach/stencil/archive/refs/tags/v1.40.0.tar.gz" |
5 |
| - sha256 "4d7ae67613a5dc6e710f551a528fa136ecdcad7bb758d47d542f0e8b5692b7cb" |
| 2 | + desc "Modern living-template engine for evolving repositories" |
| 3 | + homepage "https://stencil.rgst.io" |
| 4 | + url "https://github.com/rgst-io/stencil/archive/refs/tags/v2.0.1.tar.gz" |
| 5 | + sha256 "3a281bca9d895e8b1945e441f3671dacdbc8651bb02685e52019ac0333b0f374" |
6 | 6 | license "Apache-2.0"
|
7 |
| - head "https://github.com/getoutreach/stencil.git", branch: "main" |
| 7 | + head "https://github.com/rgst-io/stencil.git", branch: "main" |
8 | 8 |
|
9 | 9 | bottle do
|
10 |
| - sha256 cellar: :any_skip_relocation, arm64_sequoia: "f8dc046cc95bb71c79805b47df3a912787bcbfe344e9b843120a709ecf55aafb" |
11 |
| - sha256 cellar: :any_skip_relocation, arm64_sonoma: "f8dc046cc95bb71c79805b47df3a912787bcbfe344e9b843120a709ecf55aafb" |
12 |
| - sha256 cellar: :any_skip_relocation, arm64_ventura: "f8dc046cc95bb71c79805b47df3a912787bcbfe344e9b843120a709ecf55aafb" |
13 |
| - sha256 cellar: :any_skip_relocation, sonoma: "60ab1ba8e76fa5ba290df0dd525c9440c0089121d634ee537480911e736d6c4a" |
14 |
| - sha256 cellar: :any_skip_relocation, ventura: "60ab1ba8e76fa5ba290df0dd525c9440c0089121d634ee537480911e736d6c4a" |
15 |
| - sha256 cellar: :any_skip_relocation, x86_64_linux: "0c87dea0908875edc52e6bb3d2f7a65582e20162180c48f927050d2572d794f9" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "7aafaa0c5f36fd0e520f53dc690e1ad9dec81ac482096f1959451e4008632feb" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "a3c16040bfad1cde26531373eae1f172c7685b218919ac76c923fc4c26a15b8f" |
| 12 | + sha256 cellar: :any_skip_relocation, arm64_ventura: "18620d3518406d2ba2663f63f0b59e6c0a1eff790a05f8b39f48bc08cb4354e8" |
| 13 | + sha256 cellar: :any_skip_relocation, sonoma: "c7f9e6b901190997497e7d9166687f06906946c5b9ef1465eb454ef8f06b08b6" |
| 14 | + sha256 cellar: :any_skip_relocation, ventura: "8bf00aeac4a32ebd441b88cf7d706612cffd2ea778f1f6b933bba12b786e8673" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "c0e47e164119b7b6392a97d14b666b906fca96cc4f9f6d6c9cc5e40a6584053a" |
16 | 16 | end
|
17 | 17 |
|
18 | 18 | depends_on "go" => :build
|
19 | 19 |
|
20 | 20 | def install
|
21 |
| - system "go", "build", *std_go_args(ldflags: "-s -w -X github.com/getoutreach/gobox/pkg/app.Version=v#{version} -X github.com/getoutreach/gobox/pkg/updater/Disabled=true"), |
22 |
| - "./cmd/stencil" |
| 21 | + ldflags = %W[ |
| 22 | + -s -w |
| 23 | + -X go.rgst.io/stencil/v2/internal/version.version=#{version} |
| 24 | + -X go.rgst.io/stencil/v2/internal/version.builtBy=homebrew |
| 25 | + ] |
| 26 | + |
| 27 | + system "go", "build", *std_go_args(ldflags:), "./cmd/stencil" |
23 | 28 | end
|
24 | 29 |
|
25 | 30 | test do
|
|
0 commit comments