Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
bup: use --with-test
Browse files Browse the repository at this point in the history
  • Loading branch information
bfontaine committed Dec 7, 2015
1 parent 62643f4 commit e2f101b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Library/Formula/bup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ class Bup < Formula
sha256 "9c7b4eda48367a6c62786e8c74aa1b455ecc9525a6431d2a2837d13fb592c0f6" => :mountain_lion
end

option "with-tests", "Run unit tests after compilation"
option "with-test", "Run unit tests after compilation"
option "with-pandoc", "Build and install the manpages"

deprecated_option "run-tests" => "with-tests"
deprecated_option "run-tests" => "with-test"
deprecated_option "with-tests" => "with-test"

depends_on "pandoc" => [:optional, :build]

def install
system "make"
system "make", "test" if build.with? "tests"
system "make", "test" if build.with? "test"
system "make", "install", "DESTDIR=#{prefix}", "PREFIX="
end

Expand Down

0 comments on commit e2f101b

Please sign in to comment.