homebrew-core/Formula/embulk.rb
mitto nagisa 13525bd3a9 embulk 0.7.9
Closes Homebrew/homebrew#45955.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-13 14:32:51 +00:00

24 lines
727 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.7.9.jar"
sha256 "72667956c37cebda7d3f03dd53c411465818a8fa12a1f5fb7402f7cde15e10a7"
bottle :unneeded
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