Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elm-format 0.8.5 #70750

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Formula/elm-format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ class ElmFormat < Formula
desc "Elm source code formatter, inspired by gofmt"
homepage "https://github.com/avh4/elm-format"
url "https://github.com/avh4/elm-format.git",
tag: "0.8.4",
revision: "5bd4fbe591fe8b456160c180cb875ef60bc57890"
tag: "0.8.5",
revision: "80f15d85ee71e1663c9b53903f2b5b2aa444a3be"
license "BSD-3-Clause"
head "https://github.com/avh4/elm-format.git"

Expand All @@ -15,7 +15,9 @@ class ElmFormat < Formula
end

depends_on "cabal-install" => :build
depends_on "[email protected]" => :build
depends_on "ghc" => :build
depends_on "gnu-tar" => :build
depends_on "pkg-config" => :build

def build_elm_format_conf
<<~EOS
Expand All @@ -27,6 +29,7 @@ module Build_elm_format where
end

def install
ENV.prepend_path "PATH", Formula["gnu-tar"].opt_libexec/"gnubin"
defaults = buildpath/"generated/Build_elm_format.hs"
defaults.write(build_elm_format_conf)

Expand Down