Skip to content

Commit

Permalink
Brew formula update for tldr version v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
goreleaserbot committed Nov 26, 2019
1 parent a8dfd85 commit b9b9f90
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Formula/tldr.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file was generated by GoReleaser. DO NOT EDIT.
class Tldr < Formula
desc "Simplified and community-driven man pages (tldr-pages)."
homepage "https://4d63.com/tldr"
version "1.1.1"
bottle :unneeded

if OS.mac?
url "https://github.com/leighmcculloch/tldr/releases/download/v1.1.1/tldr_1.1.1_macos_x64.tar.gz"
sha256 "245faa2aa2584c6df8e3ec8cd5cf653a013fa11ac87795f1a100d3a08e72e438"
elsif OS.linux?
if Hardware::CPU.intel?
url "https://github.com/leighmcculloch/tldr/releases/download/v1.1.1/tldr_1.1.1_linux_x64.tar.gz"
sha256 "e58cdff38cd9c0b29cec1e90f013f8554111e4f2de5948198752386b93b28c99"
end
end

def install
bin.install "tldr"
end

test do
system "#{bin}/tldr -version"
end
end

0 comments on commit b9b9f90

Please sign in to comment.