Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add commit-colors #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions Formula/commit-colors.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# typed: false
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class CommitColors < Formula
desc "See a lovely color swatch in your terminal every time you author a commit."
homepage "https://github.com/sparkbox/commit-colors"
version "2.0.1"

on_macos do
if Hardware::CPU.intel?
url "https://github.com/sparkbox/commit-colors/releases/download/2.0.1/commit-colors_2.0.1_Darwin_x86_64.tar.gz"
sha256 "0441304d3349582927c2a01069365dd35b7341a0cfb2de714636d5b45dbf8a25"
end
end

on_linux do
if Hardware::CPU.intel?
url "https://github.com/sparkbox/commit-colors/releases/download/2.0.1/commit-colors_2.0.1_Linux_x86_64.tar.gz"
sha256 "959c62894f35a419e30cdfb94bf624c102e6743827c70f5c7017247d25efbe9e"
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/sparkbox/commit-colors/releases/download/2.0.1/commit-colors_2.0.1_Linux_arm64.tar.gz"
sha256 "04ba9d91d3097662839435909e5e2c95e355beb8b8fd8ee6f74561b1996da9ba"
end
end

def install
bin.install "commit-colors"
end
end