-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brew formula update for ph version v0.1.0
- Loading branch information
1 parent
84a9efb
commit 7581d99
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
class Ph < Formula | ||
desc "CLI tool to access the product hunt trending products" | ||
homepage "https://sibis.dev" | ||
version "0.1.0" | ||
bottle :unneeded | ||
|
||
if OS.mac? | ||
url "https://github.com/sibis/producthunt-cli/releases/download/v0.1.0/ph_0.1.0_Darwin_x86_64.tar.gz" | ||
sha256 "34b1ecbad064e619964d3a92c7f18188ec54483c2f46627f352ba0e85746a8e3" | ||
elsif OS.linux? | ||
if Hardware::CPU.intel? | ||
url "https://github.com/sibis/producthunt-cli/releases/download/v0.1.0/ph_0.1.0_Linux_x86_64.tar.gz" | ||
sha256 "087214cf1f0a5dda9240d910cd49109af61cf79596022628d75b6bf7286231cf" | ||
end | ||
end | ||
|
||
def install | ||
bin.install "ph" | ||
end | ||
end |