mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 13:39:47 -05:00
selenium: add wrapper script.
Closes #25794. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
1 parent
e4f6efc7bb
commit
d2e49735e9
1 file changed
+3
-2
@@ -6,10 +6,11 @@ class SeleniumServerStandalone < Formula
|
||||
sha1 'f2391600481dd285002d04b66916fc4286ff70ce'
|
||||
|
||||
def install
|
||||
prefix.install "selenium-server-standalone-#{version}.jar"
|
||||
libexec.install "selenium-server-standalone-#{version}.jar"
|
||||
bin.write_jar_script libexec/"selenium-server-standalone-#{version}.jar", "selenium-server"
|
||||
end
|
||||
|
||||
plist_options :manual => "java -jar #{HOMEBREW_PREFIX}/opt/selenium-server-standalone/selenium-server-standalone-#{version}.jar -p 4444"
|
||||
plist_options :manual => "#{bin}/selenium-server -p 4444"
|
||||
|
||||
def plist; <<-EOS.undent
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
Reference in new issue
Block a user