homebrew-core/Formula/atlassian-plugin-sdk.rb
Arun Bhalla 9811dd618f atlassian-plugin-sdk 3.10.3
Closes Homebrew/homebrew#12288.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-16 19:59:23 -07:00

31 lines
953 B
Ruby

require 'formula'
class AtlassianPluginSdk < Formula
homepage 'https://developer.atlassian.com/display/DOCS/Atlassian+Plugin+SDK+Documentation'
url 'https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/amps/atlassian-plugin-sdk/3.10.3/atlassian-plugin-sdk-3.10.3.tar.gz'
md5 '33212e59590dd9aa85fe3618bd3192eb'
def install
# Remove windows files
rm_f Dir["bin/*.bat"]
# Install jars in libexec to avoid conflicts
libexec.install Dir['*']
# Symlink binaries
bin.install_symlink Dir["#{libexec}/bin/*"]
end
def caveats
<<-EOS.undent
Thanks for installing the Atlassian Plugin SDK. For more information,
visit https://developer.atlassian.com.
To create a plugin skeleton using atlas-create-APPLICATION-plugin, e.g.:
atlas-create-jira-plugin
To run your plugin's host application with the plugin skeleton installed:
atlas-run
EOS
end
end