file-scripts/file-scripts.rb

19 lines
583 B
Ruby
Raw Normal View History

2022-01-10 11:09:34 -08:00
class FileScripts < Formula
desc "Various scripts for performing file-related operations"
2022-01-10 11:09:34 -08:00
homepage "https://github.com/etorres4/file-scripts"
url "https://github.com/etorres4/file-scripts", :using => :git
2022-01-10 13:51:02 -08:00
version "1.0.1"
sha256 "1124f0fabb45341a0daf6ca1f6fc9f7aa13bc921bd2fe25bd6e9744829c7fc96"
2021-12-20 09:16:56 -08:00
2022-01-10 11:09:34 -08:00
depends_on "fd"
depends_on "fzf"
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