29 lines
995 B
Ruby
29 lines
995 B
Ruby
class FuzzyFind < Formula
|
|
desc "Fuzzy filename finder matching across directories as well as files"
|
|
homepage "https://github.com/silentbicycle/ff"
|
|
url "https://github.com/silentbicycle/ff/archive/v0.6-flag-features.tar.gz"
|
|
version "0.6.0"
|
|
sha256 "104300ba16af18d60ef3c11d70d2ec2a95ddf38632d08e4f99644050db6035cb"
|
|
|
|
head "https://github.com/silentbicycle/ff.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "7db1b187adfcb7ce37842891ffca5eec3ca25bed5441944cbeb1e08bc6d52a66" => :el_capitan
|
|
sha256 "1b447f73c929866935af122bec4c15390f0001f049a0c737880fcfd4d7bafdb2" => :yosemite
|
|
sha256 "75aa5bedb0bd3e2869f24f1363b02ddf88f7612549c97b8f93f5d7aae0e42e63" => :mavericks
|
|
sha256 "8262f63ca68495d17b24aa74e3bad1b1f1b4c538375cc05e02639685f3942f51" => :mountain_lion
|
|
end
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "ff"
|
|
man1.install "ff.1"
|
|
(share/"emacs/site-lisp/fuzzy-find").install "fuzzy-find.el"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/ff", "-t"
|
|
end
|
|
end
|