atlassian-cli: remove (#74438)
This software is non-free. From README.txt: License • This is commercially licensed software - look in the license directory for detailed license information • The Atlassian CLI distribution ships binaries with various licenses (BSD, LGPL, and Apache) Signed-off-by: Rui Chen <rui@chenrui.dev>master
parent
9b8dc125f1
commit
0824462853
|
@ -1 +0,0 @@
|
||||||
../Formula/atlassian-cli.rb
|
|
|
@ -1,28 +0,0 @@
|
||||||
class AtlassianCli < Formula
|
|
||||||
desc "Command-line interface clients for Atlassian products"
|
|
||||||
homepage "https://bobswift.atlassian.net/wiki/pages/viewpage.action?pageId=1966101"
|
|
||||||
url "https://bobswift.atlassian.net/wiki/download/attachments/16285777/atlassian-cli-9.6.0-distribution.zip"
|
|
||||||
sha256 "3998ddb60ef23412f799db7a05f6ecfb0960228633f096edb5be208802ddb33f"
|
|
||||||
|
|
||||||
livecheck do
|
|
||||||
url "https://marketplace.atlassian.com/apps/10886/atlassian-command-line-interface-cli/version-history"
|
|
||||||
regex(/class="version">v?(\d+(?:\.\d+)+)</i)
|
|
||||||
end
|
|
||||||
|
|
||||||
bottle :unneeded
|
|
||||||
|
|
||||||
depends_on "openjdk"
|
|
||||||
|
|
||||||
def install
|
|
||||||
inreplace "acli.sh" do |s|
|
|
||||||
s.sub! "`find \"$directory/lib\" -name acli-*.jar`", "'#{share}/lib/acli-#{version}.jar'"
|
|
||||||
s.sub! "java", "'#{Formula["openjdk"].opt_bin}/java'"
|
|
||||||
end
|
|
||||||
bin.install "acli.sh" => "acli"
|
|
||||||
share.install "lib", "license"
|
|
||||||
end
|
|
||||||
|
|
||||||
test do
|
|
||||||
assert_match "Welcome to the Bob Swift Atlassian CLI", shell_output("#{bin}/acli --help 2>&1 | head")
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in New Issue