diff options
| author | Juan Laube | 2014-02-12 22:16:01 -0200 | 
|---|---|---|
| committer | Adam Vandenberg | 2014-02-14 17:11:21 -0800 | 
| commit | 8c77fc07c48137bd53d00c1550ee8972e8f18281 (patch) | |
| tree | 5495d3b17be6238b47d40e35c98300f41338edbd /Library | |
| parent | 1cb51e28704adb5b582fbc254cac927b9bfe5f11 (diff) | |
| download | homebrew-8c77fc07c48137bd53d00c1550ee8972e8f18281.tar.bz2 | |
WildFly 8.0.0.Final
Closes #26677.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/wildfly-as.rb | 26 | 
1 files changed, 26 insertions, 0 deletions
| diff --git a/Library/Formula/wildfly-as.rb b/Library/Formula/wildfly-as.rb new file mode 100644 index 000000000..ab478dfb4 --- /dev/null +++ b/Library/Formula/wildfly-as.rb @@ -0,0 +1,26 @@ +require 'formula' + +class WildflyAs < Formula +  homepage 'http://wildfly.org/' +  url 'http://download.jboss.org/wildfly/8.0.0.Final/wildfly-8.0.0.Final.tar.gz' +  sha1 '594f78aa04dd35c936615563ff3777a67228ba9d' + +  def install +    rm_f Dir["bin/*.bat"] +    libexec.install Dir['*'] +  end + +  def caveats; <<-EOS.undent +    The home of WildFly Application Server 8 is: +      #{opt_prefix}/libexec +    You may want to add the following to your .bash_profile: +      export JBOSS_HOME=#{opt_prefix}/libexec +      export PATH=${PATH}:${JBOSS_HOME}/bin +    EOS +  end + +  test do +    system "#{opt_prefix}/libexec/bin/standalone.sh --version | grep #{version}" +  end + +end | 
