Skip to content

Commit 0cf1947

Browse files
committed
Fix brew style issues
1 parent b5897e8 commit 0cf1947

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

Formula/arm-gcc-bin@14.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ class ArmGccBinAT14 < Formula
77
"14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-darwin-x86_64-arm-none-eabi.tar.xz"
88
end
99

10+
desc "Pre-built GNU toolchain for Arm Cortex-M and Cortex-R processors"
11+
homepage "https://github.com/osx-cross/homebrew-arm"
12+
url "https://developer.arm.com/-/media/Files/downloads/gnu/#{@tar_file}"
13+
sha256 @tar_file_sha
1014
bottle do
1115
root_url "https://github.com/osx-cross/homebrew-arm/releases/download/arm-gcc-bin@14-14.3.rel1"
1216
sha256 cellar: :any_skip_relocation, arm64_tahoe: "302083710aa69ac68c9100d44d08b511b0d35f4262bef843f549ddf7697ade52"
@@ -19,14 +23,9 @@ class ArmGccBinAT14 < Formula
1923
else
2024
"2d9e717dd4f7751d18936ae1365d25916534105ebcb7583039eff1092b824505"
2125
end
22-
23-
desc "Pre-built GNU toolchain for Arm Cortex-M and Cortex-R processors"
24-
homepage "https://github.com/osx-cross/homebrew-arm"
25-
url "https://developer.arm.com/-/media/Files/downloads/gnu/#{@tar_file}"
2626
# x86_64: 14.3 is not available upstream; override the version scanned from the
2727
# URL so the bottle system sees a single consistent version across architectures.
2828
version "14.3.rel1" unless Hardware::CPU.arm?
29-
sha256 @tar_file_sha
3029

3130
depends_on "xz" unless Hardware::CPU.arm?
3231
depends_on "zstd" unless Hardware::CPU.arm?

0 commit comments

Comments
 (0)