Adding go-app-engine (both 32bit and 64bit) formulae.
Closes Homebrew/homebrew#9906. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
5c40b2a618
commit
63696ded73
2 changed files with 32 additions and 0 deletions
16
Formula/go-app-engine-32.rb
Normal file
16
Formula/go-app-engine-32.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class GoAppEngine64 < Formula
|
||||
url 'http://googleappengine.googlecode.com/files/go_appengine_sdk_darwin_386-1.6.2.zip'
|
||||
homepage 'http://code.google.com/appengine/docs/go/overview.html'
|
||||
sha1 '004aebd7e6252ce3e84b89096009dcd22dadf5fe'
|
||||
|
||||
def install
|
||||
cd '..'
|
||||
share.install 'google_appengine' => name
|
||||
bin.mkpath
|
||||
%w[appcfg.py bulkload_client.py bulkloader.py dev_appserver.py remote_api_shell.py].each do |fn|
|
||||
ln_s share+name+fn, bin
|
||||
end
|
||||
end
|
||||
end
|
16
Formula/go-app-engine-64.rb
Normal file
16
Formula/go-app-engine-64.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class GoAppEngine64 < Formula
|
||||
url 'http://googleappengine.googlecode.com/files/go_appengine_sdk_darwin_amd64-1.6.2.zip'
|
||||
homepage 'http://code.google.com/appengine/docs/go/overview.html'
|
||||
sha1 '5415b2c6104834ae1a9abf68c0257a78d2065d0e'
|
||||
|
||||
def install
|
||||
cd '..'
|
||||
share.install 'google_appengine' => name
|
||||
bin.mkpath
|
||||
%w[appcfg.py bulkload_client.py bulkloader.py dev_appserver.py remote_api_shell.py].each do |fn|
|
||||
ln_s share+name+fn, bin
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue