From 2af14eba05f4beca76e380359b44802f394ba222 Mon Sep 17 00:00:00 2001 From: backwardspy Date: Mon, 8 Apr 2024 08:51:18 +0100 Subject: [PATCH] chore: temporarily remove ctp cli formula to be reverted when the cli is ready. the package is private, so this formula can't be installed anyway. --- Formula/ctp.rb | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 Formula/ctp.rb diff --git a/Formula/ctp.rb b/Formula/ctp.rb deleted file mode 100644 index 0288275..0000000 --- a/Formula/ctp.rb +++ /dev/null @@ -1,31 +0,0 @@ -class Ctp < Formula - desc "Soothing pastel theme manager" - homepage "https://github.com/catppuccin/cli" - url "https://github.com/catppuccin/cli/archive/refs/tags/v2.0.0.tar.gz" - sha256 "476cd9664afd58e64a4430e2462cb09d159f31e29119a82bcb02b305b99e30cd" - license "MIT" - head "https://github.com/catppuccin/cli.git", branch: "main" - - bottle do - root_url "https://ghcr.io/v2/catppuccin/tap" - rebuild 1 - sha256 cellar: :any_skip_relocation, ventura: "3f59595e141a8afdfdc2f722d0f722a0d3af67fafed1fd1217abbbb471e0cc1a" - sha256 cellar: :any_skip_relocation, x86_64_linux: "08e0d1a6ab38e9bbf3ad2895986b1cd6c7f12fc0234a4c25eea30e173aebb04d" - end - - depends_on "go" => :build - - def install - ENV["CGO_ENABLED"] = "0" - ldflags = %W[ - -s -w - -X main.version=#{version} - -X main.date=#{time.iso8601} - ] - system "go", "build", *std_go_args(ldflags:), "./cmd/ctp" - end - - test do - assert_predicate (bin/"ctp"), :exist? - end -end