Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #118 from tilt-dev/nicks/homebrew
Browse files Browse the repository at this point in the history
HomebrewFormula: add linux support
  • Loading branch information
dhiltgen authored Nov 30, 2021
2 parents 047b9bc + 80b4c90 commit ee655d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion HomebrewFormula/kubectl-buildkit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ class KubectlBuildkit < Formula

def install
system "make", "build", "VERSION=" + version
bin.install Dir["bin/darwin/kubectl-build*"]

if OS.mac?
bin.install Dir["bin/darwin/kubectl-build*"]
elsif OS.linux?
bin.install Dir["bin/linux/kubectl-build*"]
else
odie "Only Mac and Linux supported"
end
end

test do
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ documentation for more information.

## Getting started

### Installing on MacOS
### Installing on MacOS and Linux with Homebrew

We include a [Brew](https://docs.brew.sh/) Tap in this repo. First add the Tap with
```sh
Expand Down

0 comments on commit ee655d3

Please sign in to comment.