schema-evolution-manager 0.9.40 (new formula) (#28816)
This commit is contained in:
parent
2dab17df9f
commit
87e3111c55
2 changed files with 21 additions and 0 deletions
1
Aliases/sem
Symbolic link
1
Aliases/sem
Symbolic link
|
@ -0,0 +1 @@
|
|||
../Formula/schema-evolution-manager.rb
|
20
Formula/schema-evolution-manager.rb
Normal file
20
Formula/schema-evolution-manager.rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
class SchemaEvolutionManager < Formula
|
||||
desc "Manage postgresql database schema migrations"
|
||||
homepage "https://github.com/mbryzek/schema-evolution-manager"
|
||||
url "https://github.com/mbryzek/schema-evolution-manager/archive/0.9.40.tar.gz"
|
||||
sha256 "cf5aab3f2fe81e3daca400811f46a11d4ebd25d7325eca92a83dbe0494e25d5a"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
def install
|
||||
system "./install.sh", prefix
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"new.sql").write <<~EOS
|
||||
CREATE TABLE IF NOT EXISTS test (id text);
|
||||
EOS
|
||||
system "git", "init", "."
|
||||
assert_match "File staged in git", shell_output("#{bin}/sem-add ./new.sql")
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue