homebrew-core/Formula/atlassian-plugin-sdk.rb
Rich Manalang 5b36a1249a atlassian-plugin-sdk: Update to 4.1.1
Closes Homebrew/homebrew#16521.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-12-12 09:21:37 -08:00

31 lines
994 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/4.1.1/atlassian-plugin-sdk-4.1.1.tar.gz'
sha1 'f4326c9c6005b495a2f1abebfefe34e124a15843'
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 or atlas-create-confluence-plugin
To run your plugin's host application with the plugin skeleton installed:
atlas-run
EOS
end
end