Created
July 28, 2018 16:43
-
-
Save omerxx/51a27df5433ec063b26d61ebb482599a to your computer and use it in GitHub Desktop.
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 Mytool < Formula | |
desc "It does this and that" | |
homepage "https://github.com/myaccount/mytool" | |
url "https://github.com/myaccount/mytool/releases/download/v0.1.1/mytool.tar.gz" | |
sha256 "<SHA256>" | |
def install | |
bin.install "fed" | |
end | |
test do | |
assert_match "mytool version 1.0.0", shell_output("#{bin}/mytool -v", 2) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment