homebrew-core/Formula/spring-loaded.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

15 lines
587 B
Ruby

class SpringLoaded < Formula
desc "Java agent to enable class reloading in a running JVM"
homepage "https://github.com/spring-projects/spring-loaded"
url "https://repo.spring.io/simple/libs-release-local/org/springframework/springloaded/1.2.3.RELEASE/springloaded-1.2.3.RELEASE.jar"
sha256 "c90c406c36ce077a9f76e05859d397aad7d0f427c6c395c6749cbdef697ba43f"
version "1.2.3"
def install
(share/"java").install "springloaded-#{version}.RELEASE.jar" => "springloaded.jar"
end
test do
system "java", "-javaagent:#{share}/java/springloaded.jar", "-version"
end
end