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"
|
:because => "both install the same binaries"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
cd ".."
|
share.install Dir["*"]
|
||||||
share.install "go_appengine" => name
|
|
||||||
%w[
|
%w[
|
||||||
api_server.py appcfg.py bulkloader.py bulkload_client.py dev_appserver.py download_appstats.py goapp
|
api_server.py appcfg.py bulkloader.py bulkload_client.py dev_appserver.py download_appstats.py goapp
|
||||||
].each do |fn|
|
].each do |fn|
|
||||||
bin.install_symlink share/name/fn
|
bin.install_symlink share/fn
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
assert_match /^usage: goapp serve/, shell_output("#{bin}/goapp help serve").strip
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue