bee 1.5.4 (new formula)
Closes Homebrew/homebrew#44255. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
10d2678c14
commit
6637ea336e
1 changed files with 23 additions and 0 deletions
23
Formula/bee.rb
Normal file
23
Formula/bee.rb
Normal file
|
@ -0,0 +1,23 @@
|
|||
class Bee < Formula
|
||||
desc "Tool for managing database changes."
|
||||
homepage "https://github.com/bluesoft/bee"
|
||||
url "https://github.com/bluesoft/bee/releases/download/1.54/bee-1.54.zip"
|
||||
sha256 "3b2e52d4d0cf69ee196fff1b06f4c0354ec496630d5fdff4ccac907eece437a5"
|
||||
|
||||
def install
|
||||
rm_rf Dir["bin/*.bat"]
|
||||
libexec.install Dir["*"]
|
||||
bin.install_symlink "#{libexec}/bin/bee"
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"bee.properties").write <<-EOS.undent
|
||||
test-database.driver=com.mysql.jdbc.Driver
|
||||
test-database.url=jdbc:mysql://127.0.0.1/test-database
|
||||
test-database.user=root
|
||||
test-database.password=
|
||||
EOS
|
||||
(testpath/"bee").mkpath
|
||||
system bin/"bee", "dbchange:create new-file"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue