Skip to content

Commit

Permalink
fossil: add test, https, modernize
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#37483.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
vszakats authored and MikeMcQuaid committed Mar 7, 2015
1 parent 240efd9 commit 5d0e9aa
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Formula/fossil.rb
@@ -1,9 +1,7 @@
require "formula"

class Fossil < Formula
homepage "http://www.fossil-scm.org/"
head "http://www.fossil-scm.org/", :using => :fossil
url "http://www.fossil-scm.org/download/fossil-src-20150223162734.tar.gz"
homepage "https://www.fossil-scm.org/"
head "https://www.fossil-scm.org/", :using => :fossil
url "https://www.fossil-scm.org/download/fossil-src-20150223162734.tar.gz"
sha256 "c00f9e1487530adb921df730baf57e1aa23767a0afb60b865e5842bb50782942"
version "1.31"

Expand All @@ -28,4 +26,8 @@ def install
system "make"
bin.install "fossil"
end

test do
system "#{bin}/fossil", "init", "test"
end
end

0 comments on commit 5d0e9aa

Please sign in to comment.