bench: fix components order.

master
Mike McQuaid 2020-06-30 09:16:39 +01:00
parent c5980aa840
commit 1552641d4d
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
1 changed files with 11 additions and 11 deletions

View File

@ -1,18 +1,8 @@
class Bench < Formula
desc "Command-line benchmark tool"
homepage "https://github.com/Gabriel439/bench"
head "https://github.com/Gabriel439/bench.git"
revision 1
bottle do
cellar :any_skip_relocation
sha256 "b1eccbf77a04e4de1a59a0eed5c0f6e2d8b6b191736ee9ad4fdea9a173010651" => :catalina
sha256 "493de8888b6fe1745a887cda10a421448a08943496124b1cb49cc02453002638" => :mojave
sha256 "cd0e9ae0bc13d3db0330ae839689d9b2d129bc0bf0c1b7165033968a9e6a0f22" => :high_sierra
end
depends_on "cabal-install" => :build
depends_on "ghc@8.8" => :build
head "https://github.com/Gabriel439/bench.git"
stable do
url "https://hackage.haskell.org/package/bench-1.0.12/bench-1.0.12.tar.gz"
@ -25,6 +15,16 @@ class Bench < Formula
end
end
bottle do
cellar :any_skip_relocation
sha256 "b1eccbf77a04e4de1a59a0eed5c0f6e2d8b6b191736ee9ad4fdea9a173010651" => :catalina
sha256 "493de8888b6fe1745a887cda10a421448a08943496124b1cb49cc02453002638" => :mojave
sha256 "cd0e9ae0bc13d3db0330ae839689d9b2d129bc0bf0c1b7165033968a9e6a0f22" => :high_sierra
end
depends_on "cabal-install" => :build
depends_on "ghc@8.8" => :build
def install
system "cabal", "v2-update"
system "cabal", "v2-install", *std_cabal_v2_args