aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-03-25 08:57:07 +0000
committerMike McQuaid2015-03-25 08:57:07 +0000
commit489cba2b76c322bc37761dc5b7f2f514097745f0 (patch)
tree8129b2bb8c35421ff2dfe3266353a2752cc1a11d /Library
parenta7f5c589ae67615ebb968bdbf3ac122e6583a635 (diff)
downloadhomebrew-489cba2b76c322bc37761dc5b7f2f514097745f0.tar.bz2
joe: fix strict audit, add test.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/joe.rb13
1 files changed, 7 insertions, 6 deletions
diff --git a/Library/Formula/joe.rb b/Library/Formula/joe.rb
index 9c22fab5e..612e60655 100644
--- a/Library/Formula/joe.rb
+++ b/Library/Formula/joe.rb
@@ -1,9 +1,7 @@
-require 'formula'
-
class Joe < Formula
- homepage 'http://joe-editor.sourceforge.net/index.html'
- url 'https://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-4.0/joe-4.0.tar.gz'
- sha1 'a51827c8c61c3cb09a038d8f6670efe84e144927'
+ homepage "http://joe-editor.sourceforge.net/index.html"
+ url "https://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-4.0/joe-4.0.tar.gz"
+ sha256 "c556adff77fd97bf1b86198de6cb82e0b92cda18579c4fef6c83b608d2ed2915"
bottle do
sha256 "d6739911e38e9017999136d04c9b852110f2d625cd6048188d2618f072aaec0b" => :yosemite
@@ -13,7 +11,10 @@ class Joe < Formula
def install
system "./configure", "--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
end
+ test do
+ system "#{bin}/stringify"
+ end
end