From 701237fc5e31486dbd930de95940909930734ce7 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Sat, 30 Jul 2022 10:09:53 -0400 Subject: [PATCH] Delete tiv.rb Refer to homebrew-core instead. --- README.md | 9 +-------- tiv.rb | 28 ---------------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 tiv.rb diff --git a/README.md b/README.md index 97f38af..eb39586 100644 --- a/README.md +++ b/README.md @@ -40,14 +40,7 @@ Option 1: brew install tiv ``` -Option 2 (deprecated): - -``` -brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer -brew install tiv -``` - -Option 3 (deprecated, for macOS Mojave and below): +Option 2 (deprecated, for macOS Mojave and below): ``` brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer diff --git a/tiv.rb b/tiv.rb deleted file mode 100644 index bb68bfd..0000000 --- a/tiv.rb +++ /dev/null @@ -1,28 +0,0 @@ -class Tiv < Formula - desc "Display images in a terminal using block graphic characters" - homepage "https://github.com/stefanhaustein/TerminalImageViewer" - url "https://github.com/stefanhaustein/TerminalImageViewer/archive/refs/tags/v1.1.1.tar.gz" - sha256 "9a5f5c8688ef8db0e88dfcea6a1ae30da32268a7ab7972ff0de71955a75af0db" - license "Apache-2.0" - head "https://github.com/stefanhaustein/TerminalImageViewer.git", branch: "master" - - depends_on "imagemagick" - - on_linux do - depends_on "gcc" - end - - fails_with gcc: "5" - - def install - cd "src/main/cpp" do - system "make" - bin.install "tiv" - end - end - - test do - assert_equal "\e[48;2;0;0;255m\e[38;2;0;0;255m \e[0m", - shell_output("#{bin}/tiv #{test_fixtures("test.png")}").strip - end -end \ No newline at end of file