digdag 0.8.2 (new formula)
Closes #2012. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
This commit is contained in:
parent
ea98100b35
commit
e372ca5b6d
1 changed files with 25 additions and 0 deletions
25
Formula/digdag.rb
Normal file
25
Formula/digdag.rb
Normal file
|
@ -0,0 +1,25 @@
|
|||
class Digdag < Formula
|
||||
desc "Workload Automation System"
|
||||
homepage "https://github.com/treasure-data/digdag"
|
||||
url "https://dl.digdag.io/digdag-0.8.2.jar"
|
||||
sha256 "9e56fe2009a8f3ef62d2e5d3d1b786d0a2a38686c846402acfdcfbb06eae2843"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
depends_on :java => "1.8+"
|
||||
|
||||
def install
|
||||
libexec.install "digdag-#{version}.jar" => "digdag.jar"
|
||||
|
||||
# Create a wrapper script to support OS X 10.9.
|
||||
(bin/"digdag").write <<-EOS.undent
|
||||
#!/bin/bash
|
||||
exec /bin/bash "#{libexec}/digdag.jar" "$@"
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
ENV.java_cache
|
||||
assert_match version.to_s, shell_output("#{bin}/digdag --version")
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue