gitignore/pkg/brew/kignore-bin.rb

18 lines
473 B
Ruby
Raw Normal View History

2022-10-21 02:41:32 +02:00
class KignoreBin < Formula
2022-10-21 01:27:57 +02:00
desc "Easily add items to .gitignore and cleanup afterwards"
homepage "https://github.com/kjuulh/gitignore"
2022-10-21 12:03:17 +02:00
version "0.1.3"
2022-10-21 01:27:57 +02:00
license "MIT"
if OS.mac?
2022-10-21 02:44:23 +02:00
url "https://github.com/kjuulh/gitignore/releases/download/#{version}/kignore-#{version}-x86_64-apple-darwin.tar.gz"
2022-10-21 12:03:17 +02:00
sha256 "fa4e520854f0cc8222625b0398c778d4f474dd7a9ad1da1dd9a326ff7893bd44"
2022-10-21 01:27:57 +02:00
end
def install
bin.install "kignore"
2022-10-21 12:03:17 +02:00
bin.install "git-ignore"
2022-10-21 01:27:57 +02:00
end
end