akamai 1.0.2
depend on dep at build time instead of glide Closes #27556. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
60b4615008
commit
e7a34e3cba
1 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
class Akamai < Formula
|
||||
desc "CLI toolkit for working with Akamai's APIs"
|
||||
homepage "https://github.com/akamai/cli"
|
||||
url "https://github.com/akamai/cli/archive/1.0.1.tar.gz"
|
||||
sha256 "f2b6fde649a66709856c2497a95142db752de75db11cf22ae54ec9ac4b768c8b"
|
||||
url "https://github.com/akamai/cli/archive/1.0.2.tar.gz"
|
||||
sha256 "d3855ddbaf11cac3f0f164937faa1153ea9d1ab41175989311eab674d9b4a635"
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
|
@ -11,8 +11,8 @@ class Akamai < Formula
|
|||
sha256 "e73f1a1a4f7d5c66d1ac727d7e2e7c5cc16878ad1bef74c2ab8277430589ada5" => :el_capitan
|
||||
end
|
||||
|
||||
depends_on "dep" => :build
|
||||
depends_on "go" => :build
|
||||
depends_on "glide" => :build
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
|
@ -22,7 +22,7 @@ class Akamai < Formula
|
|||
srcpath.install buildpath.children
|
||||
|
||||
cd srcpath do
|
||||
system "glide", "install"
|
||||
system "dep", "ensure"
|
||||
system "go", "build", "-tags", "noautoupgrade nofirstrun", "-o", bin/"akamai"
|
||||
prefix.install_metafiles
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue