Skip to content

Commit f5d3179

Browse files
authored
Merge pull request #228180 from Homebrew/elm-format
elm-format 0.8.8 and undeprecate
2 parents f26eca7 + b6386e8 commit f5d3179

File tree

1 file changed

+9
-23
lines changed

1 file changed

+9
-23
lines changed

Formula/e/elm-format.rb

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,22 @@ class ElmFormat < Formula
22
desc "Elm source code formatter, inspired by gofmt"
33
homepage "https://github.com/avh4/elm-format"
44
url "https://github.com/avh4/elm-format.git",
5-
tag: "0.8.7",
6-
revision: "b5cca4c26b473dab06e5d73b98148637e4770d45"
5+
tag: "0.8.8",
6+
revision: "d07fddc8c0eef412dba07be4ab8768d6abcca796"
77
license "BSD-3-Clause"
88
head "https://github.com/avh4/elm-format.git", branch: "main"
99

10-
no_autobump! because: :requires_manual_review
11-
1210
bottle do
13-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "39551d3762854b22e3db540e1eb0187484cf50ce30233a70289ae0d6d29e1c27"
14-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "25f339b466676ecaa1be5b3d5fa0d49a1ea6c4a8593be06837e85695a93bebff"
15-
sha256 cellar: :any_skip_relocation, arm64_ventura: "81d3cdebad68b53ebe6d615e9362359a433c371804e38c9ac274a6657ab4a972"
16-
sha256 cellar: :any_skip_relocation, arm64_monterey: "d95da1452e810b7b381ae898269325caa6da8a3224de231479a515ad9e8aaf6f"
17-
sha256 cellar: :any_skip_relocation, arm64_big_sur: "94f1a4809976df842ac5e63efcd66b564bf4cca7ff833c90a9218f3652956af2"
18-
sha256 cellar: :any_skip_relocation, sonoma: "c69440ab4cbdacc7518c70b98d9a60f111423c53674820e1afff2c174a80f5cc"
19-
sha256 cellar: :any_skip_relocation, ventura: "61520c04f08cbd3b0f0989718fb8b3df92ce41d2f1b2f68c1827bc4d0331e482"
20-
sha256 cellar: :any_skip_relocation, monterey: "65b60d85cf68821087e2d5005778d552c15d7183d763bcdb893da033ec21ac38"
21-
sha256 cellar: :any_skip_relocation, big_sur: "a0f4b8bde75fc24c1e8a3ab6693581a210f9c8a8886de800835c5623261e4fc1"
22-
sha256 cellar: :any_skip_relocation, x86_64_linux: "c6b1ec84983f60bd9a7834c03074931a6f7a1c78ac640a4c6b94cbc1a10bb968"
11+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "934f90684cfe8daa0b264f2a4f997b8b98799f2e4f520123bed0ff211faecb1a"
12+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "29a357d37c12d0d6d9d9d57ac44a767902b5bcce7d512377da3f9d77dd55d022"
13+
sha256 cellar: :any_skip_relocation, arm64_ventura: "d2c86bbe7f7c8324c84dddf9084302ed4d9cdaf558eb2e9a209e72752eb2ba80"
14+
sha256 cellar: :any_skip_relocation, sonoma: "0d4770210d28927ef60c216da3d5f98aa697b072a91ff3e0f56150da8f9d6493"
15+
sha256 cellar: :any_skip_relocation, ventura: "094a9cb5819053751ee3ecf0460dc3db6a074674786eb922dfeabfbb2b1cb972"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "1b83a2583d58fdb638d9e507218ce1b08e8f68f342f7ad203a1cb404ce00c427"
2317
end
2418

25-
# Has been using pre-built GHC due to needing specific patch version of GHC
26-
deprecate! date: "2024-07-27", because: :does_not_build
27-
2819
depends_on "cabal-install" => :build
20+
depends_on "[email protected]" => :build
2921
depends_on "haskell-stack" => :build
3022
depends_on "hpack" => :build
3123

@@ -36,12 +28,6 @@ class ElmFormat < Formula
3628
end
3729

3830
def install
39-
# Currently, dependency constraints require an older `ghc` patch version than available
40-
# in Homebrew. Try using Homebrew `ghc` on update. Optionally, consider adding `ghcup`
41-
# as a lighter-weight alternative to `haskell-stack` for installing particular ghc version.
42-
jobs = ENV.make_jobs
43-
ENV.deparallelize { system "stack", "-j#{jobs}", "setup", "9.2.5", "--stack-root", buildpath/".stack" }
44-
ENV.prepend_path "PATH", Dir[buildpath/".stack/programs/*/ghc-*/bin"].first
4531
system "cabal", "v2-update"
4632

4733
# Directly running `cabal v2-install` fails: Invalid file name in tar archive: "avh4-lib-0.0.0.1/../"

0 commit comments

Comments
 (0)