From a5a390d0185abe841b8b41964512128a53a5fda2 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Thu, 26 Nov 2015 04:03:26 +0000 Subject: [PATCH] sword: audit nit --- Formula/sword.rb | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Formula/sword.rb b/Formula/sword.rb index 850794d93d..280dce8578 100644 --- a/Formula/sword.rb +++ b/Formula/sword.rb @@ -10,18 +10,19 @@ class Sword < Formula sha256 "07751178c42bcfe1c668bfd3f5f6c10bea4040f92d75f09fd42947d49f61c5ed" => :mountain_lion end - depends_on "clucene" => :optional - depends_on "icu4c" => :optional option "with-clucene", "Use clucene for text searching capabilities" option "with-icu4c", "Use icu4c for unicode support" + depends_on "clucene" => :optional + depends_on "icu4c" => :optional + def install - args = [ - "--prefix=#{prefix}", - "--disable-debug", - "--disable-profile", - "--disable-tests", - "--with-curl", # use system curl + args = %W[ + --prefix=#{prefix} + --disable-debug + --disable-profile + --disable-tests + --with-curl ] if build.with? "icu4c"