Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootloose 0.7.1 #22

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Formula/bootloose.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
class Bootloose < Formula
desc "Creates containers that look like virtual machines"
homepage "https://github.com/k0sproject/bootloose"
url "https://github.com/k0sproject/bootloose.git",
tag: "v0.7.1",
revision: "709d49157a34833b8d2a72547fe7876d601307a1"
license "Apache-2.0"
head "https://github.com/k0sproject/bootloose.git", branch: "main"

bottle do
root_url "https://github.com/k0sproject/homebrew-tap/releases/download/bootloose-0.7.1"
end

depends_on "go" => :build

def install
system "make", "bootloose", "TAG_NAME=v#{version}"
bin.install "bootloose"
prefix.install ["LICENSE", "NOTICE", "README.md"]

generate_completions_from_executable(bin/"bootloose", "completion")
end

test do
version_output = shell_output(bin/"bootloose version 2>&1")
assert_match "v#{version}", version_output
end
end