Skip to content

Commit 214e64a

Browse files
committed
elm-format 0.8.8
Signed-off-by: Rui Chen <[email protected]>
1 parent 336697d commit 214e64a

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

Formula/e/elm-format.rb

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ 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
1311
sha256 cellar: :any_skip_relocation, arm64_sequoia: "39551d3762854b22e3db540e1eb0187484cf50ce30233a70289ae0d6d29e1c27"
1412
sha256 cellar: :any_skip_relocation, arm64_sonoma: "25f339b466676ecaa1be5b3d5fa0d49a1ea6c4a8593be06837e85695a93bebff"
@@ -22,10 +20,8 @@ class ElmFormat < Formula
2220
sha256 cellar: :any_skip_relocation, x86_64_linux: "c6b1ec84983f60bd9a7834c03074931a6f7a1c78ac640a4c6b94cbc1a10bb968"
2321
end
2422

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-
2823
depends_on "cabal-install" => :build
24+
depends_on "[email protected]" => :build
2925
depends_on "haskell-stack" => :build
3026
depends_on "hpack" => :build
3127

@@ -36,12 +32,6 @@ class ElmFormat < Formula
3632
end
3733

3834
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
4535
system "cabal", "v2-update"
4636

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

0 commit comments

Comments
 (0)