bottle unneeded
master
ilovezfs 2017-06-07 04:55:51 -07:00 committed by GitHub
parent 916bb8ea4c
commit 9d12ceafc0
1 changed files with 5 additions and 16 deletions

View File

@ -1,27 +1,16 @@
class Sjk < Formula
desc "Swiss Java Knife"
homepage "https://github.com/aragozin/jvm-tools"
url "https://github.com/aragozin/jvm-tools/archive/jvmtool-umbrella-pom-0.5.1.tar.gz"
sha256 "d6e34a7e9ce8a094bcf8b5ceab092c04a7307a9a4e7eca0005b7d4f70dd98942"
revision 1
url "https://search.maven.org/remotecontent?filepath=org/gridkit/jvmtool/sjk-plus/0.6/sjk-plus-0.6.jar"
sha256 "90056db5810f5ea535cdf7514d0ce6a72f71341684eb8f40f208b748a1b20650"
bottle do
cellar :any_skip_relocation
sha256 "763a1ec26af64f3d0c7fa0618af1d2c4f7f9a9c1b3cf623f58bd103ccac7ccbc" => :sierra
sha256 "3b335b625144874891261d6acfa4ef88483b57fe0712ff3d9e7b36320dda152d" => :el_capitan
sha256 "7a3731b4df74fb8903bc59b5e3c2f932fb01988a30fca5e692de860dee0539c7" => :yosemite
end
bottle :unneeded
depends_on "maven" => :build
depends_on :java
def install
ENV.java_cache
system "mvn", "clean", "package"
cd "sjk-plus/target" do
libexec.install "sjk-plus-#{version}.jar"
bin.write_jar_script "#{libexec}/sjk-plus-#{version}.jar", "sjk"
end
libexec.install "sjk-plus-#{version}.jar"
bin.write_jar_script "#{libexec}/sjk-plus-#{version}.jar", "sjk"
end
test do