|
1 | 1 | class Hotbuild < Formula |
2 | 2 | desc "Cross platform hot compilation tool for go" |
3 | 3 | homepage "https://hotbuild.rustpub.com/" |
4 | | - url "https://github.com/wandercn/hotbuild/archive/refs/tags/v1.0.8.tar.gz" |
5 | | - sha256 "662fdc31ca85f5d00ba509edcb177b617d8d6d8894086197347cfdbd17dc7c2f" |
| 4 | + url "https://github.com/wandercn/hotbuild/archive/refs/tags/v1.0.9.tar.gz" |
| 5 | + sha256 "7e8c5c52269344d12d4dc83ae4f472f8aec05faad76379c844dc21c2da44704c" |
6 | 6 | license "MulanPSL-2.0" |
7 | 7 | head "https://github.com/wandercn/hotbuild.git", branch: "master" |
8 | 8 |
|
9 | | - no_autobump! because: :requires_manual_review |
10 | | - |
11 | 9 | bottle do |
12 | | - sha256 cellar: :any_skip_relocation, arm64_tahoe: "4ccb806636f0fdd5804757bd8333fce15485f16e5e30c05150a913a71429d065" |
13 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "fbc85999d55d54744d2d91cb460717d72fc448bd5845222218bf3fcf510fd3ac" |
14 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "ddd19c999dc3804ab7ce881c97e26f62c61579c59ae13aaa3b6d6cfdf8b5bb77" |
15 | | - sha256 cellar: :any_skip_relocation, arm64_ventura: "a9fc5a6d582ee188052e3daa22aa3c6063fb09aaef924deac5cbfe5f697e02f0" |
16 | | - sha256 cellar: :any_skip_relocation, arm64_monterey: "547bc3bac1e2621f3f6d1dbc83ed412897b2aa1def4a08a5fdbfd2a24e9cde2f" |
17 | | - sha256 cellar: :any_skip_relocation, arm64_big_sur: "e0ad321f7a6ab55d11b47e83963984eb51576264653ce4613183a03730f9c7b9" |
18 | | - sha256 cellar: :any_skip_relocation, sonoma: "5f9c67fca7d339796057af29edb1792fbf3058bc1c0dde2d20c8ef0be5fa9f61" |
19 | | - sha256 cellar: :any_skip_relocation, ventura: "c0e255bfa37fa3ee34f2c35c5c00ec41879a0c89d17f9073b0dbc215b4be3649" |
20 | | - sha256 cellar: :any_skip_relocation, monterey: "c2c61c0aa4d1a3f4beda6764e28af6de0ff60e0fc1df445e52d941daa921a82b" |
21 | | - sha256 cellar: :any_skip_relocation, big_sur: "9c327c9eddb60305d8b6a5ba1a164ae1ae416f2f448048804f12a42dd07bc8dc" |
22 | | - sha256 cellar: :any_skip_relocation, catalina: "32cf72dbf642a44b7a6ad2182fb42946583004a9e87b8a3042f43f918d559c1a" |
23 | | - sha256 cellar: :any_skip_relocation, arm64_linux: "366131bed15afecd0f2cb86718a27699414b81ed6a8ac16303ffde07de5a70ee" |
24 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "fb2fa25a273f069d799eb0d30e31b73ca3a8e9fd319c76a6f0171a661fe68ad0" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_tahoe: "48765f4b63a2e545792a90d0ccb6e708f73cfbac955015b6f7306ba86f81446e" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "48765f4b63a2e545792a90d0ccb6e708f73cfbac955015b6f7306ba86f81446e" |
| 12 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "48765f4b63a2e545792a90d0ccb6e708f73cfbac955015b6f7306ba86f81446e" |
| 13 | + sha256 cellar: :any_skip_relocation, sonoma: "72ec072fe72761ade35c29f2ca68fb14d3d6c1f9b4b72da1fd3fc5bb56fe209b" |
| 14 | + sha256 cellar: :any_skip_relocation, arm64_linux: "60d8216f9117ce91e1efa69dc1365c74a1d1c079d1259d1b8accd4042f29ae2e" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "854bb58ffdd0700d658589a05dd6fd5a61540f6600eca7cbf21bf02c924331ea" |
25 | 16 | end |
26 | 17 |
|
27 | 18 | depends_on "go" => :build |
28 | 19 |
|
| 20 | + # Bump version |
| 21 | + # https://github.com/wandercn/hotbuild/pull/15 |
| 22 | + patch do |
| 23 | + url "https://github.com/wandercn/hotbuild/commit/1b04ea4e9e1327ef4d462256072d72f4f37040cb.patch?full_index=1" |
| 24 | + sha256 "b0bbcdf106914307265b4ac81d73667a8b2d4c2fd688cc76dd1e303f690b4021" |
| 25 | + end |
| 26 | + |
29 | 27 | def install |
30 | | - # fixed in https://github.com/wandercn/hotbuild/commit/16d2d337fc20b245a96a4bd2cfe7c0ec8657470d |
31 | | - # remove in next release |
32 | | - inreplace "version/version.go", "v1.0.7", version.to_s |
33 | 28 | system "go", "build", *std_go_args(ldflags: "-s -w") |
34 | 29 | end |
35 | 30 |
|
|
0 commit comments