2015-05-03 19:31:48 +00:00
|
|
|
class Fpp < Formula
|
2015-06-08 20:28:20 +00:00
|
|
|
desc "CLI program that accepts piped input and presents files for selection"
|
2015-05-03 19:31:48 +00:00
|
|
|
homepage "https://facebook.github.io/PathPicker/"
|
2016-04-16 17:44:29 +00:00
|
|
|
url "https://github.com/facebook/PathPicker/releases/download/0.7.1/fpp.0.7.1.tar.gz"
|
|
|
|
sha256 "442932c05df6bddae8b24c48eb9a24d8892daf83d88ed3978d5cd835d3cf33a7"
|
2015-05-03 19:31:48 +00:00
|
|
|
head "https://github.com/facebook/pathpicker.git"
|
|
|
|
|
2015-10-20 09:07:22 +00:00
|
|
|
bottle :unneeded
|
2015-05-04 21:47:31 +00:00
|
|
|
|
2015-05-03 19:31:48 +00:00
|
|
|
depends_on :python if MacOS.version <= :snow_leopard
|
|
|
|
|
|
|
|
def install
|
|
|
|
# we need to copy the bash file and source python files
|
|
|
|
libexec.install Dir["*"]
|
|
|
|
# and then symlink the bash file
|
|
|
|
bin.install_symlink libexec/"fpp"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"fpp", "--help"
|
|
|
|
end
|
|
|
|
end
|