diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/screenbrightness.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/screenbrightness.rb b/Library/Formula/screenbrightness.rb index 9eac058a1..8224b888d 100644 --- a/Library/Formula/screenbrightness.rb +++ b/Library/Formula/screenbrightness.rb @@ -1,12 +1,14 @@ -require 'formula' - class Screenbrightness < Formula - homepage 'https://github.com/jmstacey/screenbrightness' - url 'https://github.com/jmstacey/screenbrightness/archive/1.1.tar.gz' - sha1 'f9750733ac298837f519fcfedcbfec74f781bc68' + homepage "https://github.com/jmstacey/screenbrightness" + url "https://github.com/jmstacey/screenbrightness/archive/1.1.tar.gz" + sha1 "f9750733ac298837f519fcfedcbfec74f781bc68" def install system "make" system "make", "prefix=#{prefix}", "install" end + + test do + system "#{bin}/screenbrightness", "-l" + end end |
