forked from atlassian/homebrew-tap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatlassian-plugin-sdk-42.rb
33 lines (26 loc) · 1.27 KB
/
atlassian-plugin-sdk-42.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
require 'formula'
class AtlassianPluginSdk42 < Formula
homepage 'https://developer.atlassian.com/display/DOCS/Atlassian+Plugin+SDK+Documentation'
url 'http://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/amps/atlassian-plugin-sdk/4.2.20/atlassian-plugin-sdk-4.2.20.tar.gz'
# url 'https://cdn.rawgit.com/dvdsmpsn/homebrew-tap/master/repository-mirror/atlassian-plugin-sdk/4.2.20/atlassian-plugin-sdk-4.2.20.tar.gz'
mirror 'https://github.com/dvdsmpsn/homebrew-tap/raw/master/repository-mirror/atlassian-plugin-sdk/4.2.20/atlassian-plugin-sdk-4.2.20.tar.gz'
sha256 '2fd4ab8ab242de84aeb9ce12566573c2397ccb11e7b5e33f9d47a5efef3d0a85'
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
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