Skip to content

Commit

Permalink
bootloose 0.7.1
Browse files Browse the repository at this point in the history
Closes #22.

Signed-off-by: Kimmo Lehto <[email protected]>
Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke committed Oct 10, 2023
1 parent 7f77801 commit 6d28c43
Showing 1 changed file with 28 additions and 0 deletions.
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

0 comments on commit 6d28c43

Please sign in to comment.