homebrew-core/Formula/embulk.rb
Hiroshi Hatake f0bcc945b1 embulk 0.6.22
Closes Homebrew/homebrew#42797.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-08-12 01:47:15 +01:00

22 lines
708 B
Ruby

class Embulk < Formula
desc "Data transfer between various databases, file formats and services"
homepage "http://www.embulk.org/"
url "https://bintray.com/artifact/download/embulk/maven/embulk-0.6.22.jar"
sha256 "f86518cb82a8677c3d0d07e1554c6336c8afe603841c0c7d8c8ab75813cd1b5e"
depends_on :java
skip_clean "libexec"
def install
(libexec/"bin").install "embulk-#{version}.jar" => "embulk"
bin.write_jar_script libexec/"bin/embulk", "embulk"
end
test do
system bin/"embulk", "example", "./try1"
system bin/"embulk", "guess", "./try1/example.yml", "-o", "config.yml"
system bin/"embulk", "preview", "config.yml"
system bin/"embulk", "run", "config.yml"
end
end