Last active
April 12, 2016 20:59
-
-
Save dpoggi/c09201fae895d096afda to your computer and use it in GitHub Desktop.
Homebrew formula for imgcat (modified from closed PR on Homebrew/Homebrew)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Imgcat < Formula | |
desc "imgcat for iTerm" | |
homepage "https://www.iterm2.com/images.html" | |
version "2.9.20160313" | |
url "https://raw.githubusercontent.com/gnachman/iTerm2/v#{version}/tests/imgcat" | |
sha256 "036ee8aec2487a02b40d62d72918090ae022fc018589337dfd8403e08ffdd0c0" | |
head do | |
url "https://raw.githubusercontent.com/gnachman/iTerm2/HEAD/tests/imgcat" | |
end | |
def install | |
bin.install "imgcat" | |
end | |
test do | |
system bin/"imgcat", test_fixtures("test.png") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment