homebrew-core/Formula/db-vcs.rb

21 lines
535 B
Ruby

class DbVcs < Formula
desc "Version control for MySQL databases"
homepage "https://github.com/infostreams/db"
url "https://github.com/infostreams/db/archive/1.1.tar.gz"
sha256 "90f07c13c388896ba02032544820f8ff3a23e6f9dc1e320a1a653dd77e032ee7"
license "MIT"
bottle :unneeded
def install
libexec.install "db"
libexec.install "bin/"
bin.install_symlink libexec/"db"
end
test do
output = shell_output("#{bin}/db server add localhost", 2)
assert_match "fatal: Not a db repository", output
end
end