Skip to content

Commit

Permalink
dterm: test added
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#38096.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
  • Loading branch information
bfontaine authored and tdsmith committed Mar 27, 2015
1 parent bbdb0a3 commit 4c628c4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Formula/dterm.rb
@@ -1,12 +1,15 @@
require 'formula'

class Dterm < Formula
homepage 'http://www.knossos.net.nz/resources/free-software/dterm/'
url 'http://www.knossos.net.nz/downloads/dterm-0.3.tgz'
sha1 'b7dd8cf8c0eb3ef43a32db6011361e886850390d'
homepage "http://www.knossos.net.nz/resources/free-software/dterm/"
url "http://www.knossos.net.nz/downloads/dterm-0.3.tgz"
sha256 "c12ece81a57296e39f564fe0269dbe34f048f4a47d2bf79b6a6215718091e67f"

def install
bin.mkpath
system "make"
bin.install "dterm"
system "make", "install", "BIN=#{bin}/"
end

test do
system "#{bin}/dterm", "help"
end
end

0 comments on commit 4c628c4

Please sign in to comment.