Skip to content

Commit

Permalink
Update most-used for new Homebrew Haskell style
Browse files Browse the repository at this point in the history
Overall tracking issue is here:
Homebrew/homebrew-core#55253
  • Loading branch information
gabebw committed Dec 14, 2020
1 parent 6da72e1 commit b79662c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Formula/most-used.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
require "language/haskell"

class MostUsed < Formula
include Language::Haskell::Cabal

desc "Find your most-used commands"
homepage "https://github.com/gabebw/most-used"
url "https://github.com/gabebw/most-used/archive/v0.0.7.1.tar.gz"
Expand All @@ -14,7 +10,8 @@ class MostUsed < Formula
depends_on "cabal-install" => :build

def install
install_cabal_package
system "cabal", "v2-update"
system "cabal", "v2-install", *std_cabal_v2_args
bin.install "bin/most-used"
bin.install "bin/most-used-bash"
bin.install "bin/most-used-zsh"
Expand Down

0 comments on commit b79662c

Please sign in to comment.