app-engine-go-32: fix install failure and add test
Closes Homebrew/homebrew#48515. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
5a5d6462da
commit
50b11d2716
1 changed files with 6 additions and 3 deletions
|
@ -12,12 +12,15 @@ class AppEngineGo32 < Formula
|
|||
:because => "both install the same binaries"
|
||||
|
||||
def install
|
||||
cd ".."
|
||||
share.install "go_appengine" => name
|
||||
share.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 share/name/fn
|
||||
bin.install_symlink share/fn
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match /^usage: goapp serve/, shell_output("#{bin}/goapp help serve").strip
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue