homebrew-core/Formula/rbenv-chefdk.rb

22 lines
671 B
Ruby

class RbenvChefdk < Formula
desc "Treat ChefDK as another version in rbenv"
homepage "https://github.com/docwhat/rbenv-chefdk"
url "https://github.com/docwhat/rbenv-chefdk/archive/v1.0.0.tar.gz"
sha256 "79b48257f1a24085a680da18803ba6a94a1dd0cb25bd390629006a5fb67f3b69"
revision 1
head "https://github.com/docwhat/rbenv-chefdk.git"
bottle :unneeded
depends_on "rbenv"
def install
prefix.install Dir["*"]
end
test do
assert_match "rbenv-chefdk.bash", shell_output("rbenv hooks exec")
assert_match "rbenv-chefdk.bash", shell_output("rbenv hooks rehash")
assert_match "rbenv-chefdk.bash", shell_output("rbenv hooks which")
end
end