app-engine-go-64: migrate to cask google-cloud-sdk

This commit is contained in:
William Woodruff 2018-02-04 22:04:35 -05:00 committed by ilovezfs
parent 687512ddca
commit 3aa51faf1e
2 changed files with 1 additions and 27 deletions

View file

@ -1,27 +0,0 @@
class AppEngineGo64 < Formula
desc "Google App Engine SDK for Go (AMD64)"
homepage "https://cloud.google.com/appengine/docs/go/"
url "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_darwin_amd64-1.9.62.zip"
sha256 "abc350f5d630aa06e84b5f8f58e7b79c421b591e4419010da6f159911f2e0306"
bottle :unneeded
conflicts_with "app-engine-go-32",
:because => "both install the same binaries"
conflicts_with "app-engine-python",
:because => "both install the same binaries"
def install
pkgshare.install Dir["*"]
%w[
api_server.py appcfg.py bulkloader.py bulkload_client.py dev_appserver.py download_appstats.py goapp
].each do |fn|
bin.install_symlink pkgshare/fn
end
(pkgshare/"goroot/pkg").install_symlink pkgshare/"goroot/pkg/darwin_amd64_appengine" => "darwin_amd64"
end
test do
assert_match(/^usage: goapp serve/, shell_output("#{bin}/goapp help serve").strip)
end
end

View file

@ -4,6 +4,7 @@
"android-platform-tools": "caskroom/cask",
"android-sdk": "caskroom/cask",
"app-engine-go-32": "caskroom/cask/google-cloud-sdk",
"app-engine-go-64": "caskroom/cask/google-cloud-sdk",
"auctex": "homebrew/tex",
"avidemux": "caskroom/cask",
"awsenv": "Luzifer/tools",