2022-01-10 11:09:34 -08:00
|
|
|
class FileScripts < Formula
|
2022-01-10 19:53:46 -08:00
|
|
|
desc "Various scripts for performing file-related operations"
|
2022-01-10 11:09:34 -08:00
|
|
|
homepage "https://github.com/etorres4/file-scripts"
|
2022-01-10 19:53:46 -08:00
|
|
|
url "https://github.com/etorres4/file-scripts", :using => :git
|
2022-09-13 21:37:53 -07:00
|
|
|
version "1.1.3"
|
|
|
|
sha256 "fad7da96c72c8bef81f3ec6a2d1cb13b09fb44e084f98b05ba3a7dfd8b41ae12"
|
2021-12-20 09:16:56 -08:00
|
|
|
|
2022-01-10 11:09:34 -08:00
|
|
|
depends_on "fd"
|
|
|
|
depends_on "fzf"
|
2022-01-10 19:53:46 -08:00
|
|
|
depends_on "python@3.10"
|
2021-12-20 09:16:56 -08:00
|
|
|
|
|
|
|
def install
|
2022-01-10 11:09:34 -08:00
|
|
|
system Formula["python@3.10"].opt_bin/"python3", *Language::Python.setup_install_args(prefix)
|
2021-12-20 09:16:56 -08:00
|
|
|
|
|
|
|
# Install completions to zsh/site-functions
|
2022-01-10 11:09:34 -08:00
|
|
|
zsh_completion.install Dir["zsh/_*"]
|
2021-12-20 09:16:56 -08:00
|
|
|
end
|
|
|
|
end
|