slackcat 1.4

Closes #21378.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
master
ilovezfs 2017-12-06 02:01:36 -08:00
parent f20c0e099d
commit 5b7473fccf
1 changed files with 9 additions and 9 deletions

View File

@ -3,8 +3,8 @@ require "language/go"
class Slackcat < Formula
desc "Command-line utility for posting snippets to Slack"
homepage "https://github.com/vektorlab/slackcat"
url "https://github.com/vektorlab/slackcat/archive/v1.3.tar.gz"
sha256 "bea9d91f16d25fa91da24d0cbbebf333544d9e9a0b19549391ed7156199c6d77"
url "https://github.com/vektorlab/slackcat/archive/v1.4.tar.gz"
sha256 "43c80b7d546bca51af47b3df8b79a2e5ce021042ea91d877e2feb33a7ca81305"
bottle do
cellar :any_skip_relocation
@ -23,17 +23,12 @@ class Slackcat < Formula
go_resource "github.com/bluele/slack" do
url "https://github.com/bluele/slack.git",
:revision => "b5a7526d62db4690f8a49a30c8ed46f90d0f29f7"
end
go_resource "github.com/codegangsta/cli" do
url "https://github.com/codegangsta/cli.git",
:revision => "8ba6f23b6e36d03666a14bd9421f5e3efcb59aca"
:revision => "307046097ee9f07094bb547c5d96d86d759054a6"
end
go_resource "github.com/fatih/color" do
url "https://github.com/fatih/color.git",
:revision => "67c513e5729f918f5e69786686770c27141a4490"
:revision => "5df930a27be2502f99b292b7cc09ebad4d0891f4"
end
go_resource "github.com/skratchdot/open-golang" do
@ -41,6 +36,11 @@ class Slackcat < Formula
:revision => "75fb7ed4208cf72d323d7d02fd1a5964a7a9073c"
end
go_resource "github.com/urfave/cli" do
url "https://github.com/urfave/cli.git",
:revision => "119bb6564841921ce6f1401e0f5d75317bdd9f4d"
end
def install
ENV["GOPATH"] = buildpath
Language::Go.stage_deps resources, buildpath/"src"