diff options
| author | Baptiste Fontaine | 2015-03-25 18:45:43 +0100 |
|---|---|---|
| committer | Xu Cheng | 2015-03-28 00:05:52 +0800 |
| commit | bd322690d836bf3bc300661ed35b1658b62c971d (patch) | |
| tree | eaabbbb69514804c29f2ef6db945ab291dbff62c /Library | |
| parent | 5aef1f61b53bfe485d6b00e1e6789bdf91539c25 (diff) | |
| download | homebrew-bd322690d836bf3bc300661ed35b1658b62c971d.tar.bz2 | |
bbcolors: test added
Closes #38068.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/bbcolors.rb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Library/Formula/bbcolors.rb b/Library/Formula/bbcolors.rb index d3ac69d68..4cd625024 100644 --- a/Library/Formula/bbcolors.rb +++ b/Library/Formula/bbcolors.rb @@ -1,11 +1,14 @@ -require 'formula' - class Bbcolors < Formula - homepage 'http://daringfireball.net/projects/bbcolors/' - url 'http://daringfireball.net/projects/downloads/bbcolors_1.0.1.zip' - sha1 'ce47e5ffbcafb01c21acdf242372f351215a80bf' + homepage "http://daringfireball.net/projects/bbcolors/" + url "http://daringfireball.net/projects/downloads/bbcolors_1.0.1.zip" + sha256 "6ea07b365af1eb5f7fb9e68e4648eec24a1ee32157eb8c4a51370597308ba085" def install bin.install "bbcolors" end + + test do + (testpath/"Library/Application Support/BBColors").mkpath + system "#{bin}/bbcolors", "-list" + end end |
