From 054c1659548fbebcb4bf50fb6d5200e36ddec0d1 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 21 Oct 2022 01:27:57 +0200 Subject: [PATCH] added brew formula --- HomebrewFormula | 1 + pkg/brew/kignore-bin.rb | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 120000 HomebrewFormula create mode 100644 pkg/brew/kignore-bin.rb diff --git a/HomebrewFormula b/HomebrewFormula new file mode 120000 index 0000000..993869f --- /dev/null +++ b/HomebrewFormula @@ -0,0 +1 @@ +pkg/brew/ \ No newline at end of file diff --git a/pkg/brew/kignore-bin.rb b/pkg/brew/kignore-bin.rb new file mode 100644 index 0000000..c911a6e --- /dev/null +++ b/pkg/brew/kignore-bin.rb @@ -0,0 +1,16 @@ +class Kignore < Formula + desc "Easily add items to .gitignore and cleanup afterwards" + homepage "https://github.com/kjuulh/gitignore" + version '0.1.1' + license "MIT" + + if OS.mac? + url "https://github.com/kjuulh/kignore/releases/download/#{version}/kignore-#{version}-x86_64-apple-darwin.tar.gz" + sha256 "" + end + + def install + bin.install "kignore" + end +end +