diff --git a/brew/.gitignore b/brew/.gitignore new file mode 100644 index 0000000..d892a93 --- /dev/null +++ b/brew/.gitignore @@ -0,0 +1,2 @@ +# Mac trash +.DS_Store \ No newline at end of file diff --git a/brew/Formula/labeler.rb b/brew/Formula/labeler.rb new file mode 100644 index 0000000..394082a --- /dev/null +++ b/brew/Formula/labeler.rb @@ -0,0 +1,14 @@ +class Labeler < Formula + desc "Utility that automates the labeling of resources output from kubectl, kustomize, and helm" + homepage "https://github.com/clubanderson/labeler" + url "https://github.com/clubanderson/labeler/releases/download/v0.1.0/labeler-v0.1.0.tar.gz" + sha256 "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" + + def install + bin.install "labeler" + end + + test do + system "#{bin}/labeler", "--version" + end + end \ No newline at end of file diff --git a/brew/README.md b/brew/README.md new file mode 100644 index 0000000..79d6aac --- /dev/null +++ b/brew/README.md @@ -0,0 +1,18 @@ +## Instructions for installing the Labeler using Brew package manager + +install brew: +``` + https://brew.sh +``` + +to install: +``` + brew tap clubanderson/labeler + brew install labeler +``` + +to remove: +``` + brew remove labeler + brew untap clubanderson/labeler +``` \ No newline at end of file